07-07-2006 02:01 AM
07-07-2006 12:52 PM
I don't know if you can fix that problem as it is a Windows OS thing that is happening. XP is a bit more stringent about how it passes messages to an application and does a much more thorough job of keeping track of which applications are "listening" and which have not responded to the windows message being put in the queue within a given time period than NT did.
The only thing I can think of is to use the SetSleepPolicy() function and set it to VAL_SLEEP_MORE and to throw in some ProcessSystemEvents() calls into any code that takes a long time to execute. This MAY help with the windows message queue response but without trying it, I cannot tell you if it will help.