|
You need some sort of event processing loop that is the main function of the program, and some variable or object that is a timer. On each loop of your program you can check the status of the timer and once it hits the mark it can trigger your message checking function. In the main event loop you can also do the rest of program's work.
__________________
Stop intellectual property from infringing on me
|