I want program that keep checking time! If time right i want play music. How I do that?
Printable View
I want program that keep checking time! If time right i want play music. How I do that?
You can use SetTimer to create a timer and KillTimer to destroy it. In the callback procedure you can use localtime() and difftime() to get the time offset and check if it's>0