Do not put your faith in organizations or governments, for they will always fail you because they are bult by men, which have an inherent 'sin nature' in them. The only "perfect society" or world...
Type: Posts; User: Util_Mark
Do not put your faith in organizations or governments, for they will always fail you because they are bult by men, which have an inherent 'sin nature' in them. The only "perfect society" or world...
Read the header file? Just add this:
#include <your_header_file.h>
All functions referenced in the header file will then be usable in your .cpp file. Hopefully I'm not misunderstanding...
OK, it works, BUT if I do a loop to check at different intervals, then unplug the network cable of the PC that I'm testing against, the code still says that the host is alive, when in reality it...
YOU ARE AWESOME vVv!!!! Thanks!!!!
I want to write a small utility that checks to see if a host is live, then either beeps or plays a WAV file if the network connection goes down. system("ping xyz"); doesn't cut it, as it has no way...
I've written a program that captures keystrokes and logs them to a text file, however I'm having a problem with getting it to run in the background, like a service, - and also be able to capture text...
Thanks Ruchikar! Let me take a stab at using the connect() function and see if I can get it to do what I need. Thanks again!
I need to create a program that will basically ping a remote host then do something every time that ping fails to get a reply back. I've seen people post code like this before (see below), but this...
How do I check to see if a file exists, then create on if it doesn't? I've been searching and trying different things to no avail. Is their a 'FileCreate' somewhere that I can use, or something...
Try this:
#include <dos.h>
#include <stdio.h>
int main(void)
{
struct date d;
getdate(&d);
Sorry 'bout that, but it helped. Swoopy answered my question and it worked the first time! Thanks Swoopy! See below:
Try this.
...
So simple!!!! Don't I feel stupid now... Thanks a million!
In Windows NT you can use %USERNAME% and %COMPUTERNAME% in scripts, extracting this info off of PCs. I need to do the same thing in my simple C++ program. Basically, I need to do this:
char...
Can anyone suggest any other site with good network programming information?
Mark
Does it matter that I'm using Borland C++ version 5.02???
Just checking...
Mark
Thanks, I'll look at MSDN. I looked at your web site by the way. You know Assembly too, eh? I've always wanted to take a class on it and learn it. Thanks again,
Mark
Thanks for the assistance! It's working great, except the lpSystem variable isn't returning the legitimate info. I've been scouring the Internet for info regarding these functions, but haven't...
In Windows NT you can use %USERNAME% and %COMPUTERNAME% in scripts, extracting this info off of PCs. I need to do the same thing in my simple C++ program. Basically, I need to do this:
char...