|
-
April 15th, 2003, 05:07 PM
#1
Q about Emailing and Waiting
Hi, I wonder if anyone could help me with the following two questions...
1. I want my program to run a function every two hours. How / what can I do to make it loop and do nothing for those two hours, and how do I set it to run the function after a certain time period?
2. If the function evaluates to true, I would like my app. to fire off an email to me. I can find code to do this in VB but am at a loss in C++ (I am a rank beginner in the world of C++). If it helps my email program is Groupwise.
Thanks
Al van H
-
April 15th, 2003, 05:17 PM
#2
Use the Sleep function to wait for two hours. There are many examples here on emailing, look under internet or networking samples.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|