Hello, there. I am building an application (a board game, like chess) using the Win32 API and have some problems using the timer.
The problem is that, as I read, timer messages are not asynchronous, so if I specify 1000msec in the SetTimer call, the program is not guaranteed to receive a WM_TIMER message every second.
I use many Sleep() calls in my program so the timer does not work very well.
I want to use the timer to calculate the time that the PC takes to make a move.
Anyway, is there way to send messages to the WM_TIMER every second and not depend on what the program is doing?