How to control what happens when a program is displayed in Windows XP
I have a real-time program that needs to run continuously. When the program is displayed, it seems that it sometimes stops updating and other times is interrupted when it is restored to an active state. Is there a way to control what happens when my program is an icon? I am using Visual Studio 2005.
0
1 answer
I steal lothar's comment and present it as an answer: you can implement your realtime program as a windows service. If you need to start and stop it under user control, you can provide a graphical interface (which does not need to be started all the time) to start, pause, continue, and stop the service. As a service, your program is much less likely to be interrupted by a user running on the computer, including things like logging out.
+2
source to share