Are you sure that your SetTimer call was successful?
Maybe you should check its return value first.
If the function fails to create a timer, the return value is zero. To get extended error information, call GetLastError.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.