I have put a timer into my program using the SetTimer function, but when I run it the program takes up a lot of the cpu and takes a long time to shutdown.
Does anyone know a reason for this and how to overcome it?
What did you put in timer function?
Timer is like any other message-response function, so if timer interval is short and there is a significant work in timer-fn, that might be the problem, since your app won't process other messages on time
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.