c++ - How to control what happens when a program is iconned in Windows XP -
I have a real time program that requires continuous operation when the program is marked, it seems that This sometimes stops updating and stops at other times when it is restored in active state. Is there any way to control marking my program? I am using Visual Studio 2005.
I'm stealing Lothar's comment and presenting it as an answer: you You may want to implement your real time program as a Windows service. If you have to start and stop it under User Control, you can provide a GUI (which is not required to run all the time) to start, stop, continue and stop the service. As a service, your program is less likely to be interrupted by a user doing some work on a computer, including logging out.
Comments
Post a Comment