[DUG] Why does this hang?

2011-07-28 Thread Ross Levis
I'm using the following code inside a wait loop so that most messages are processed except for some mouse and keyboard messages (I think) which I don't want to be processed. It's working perfectly here but for another user it hangs indefinitely. If PeekMessage(Msg, MainForm.Handle , 0, 0, PM_N

Re: [DUG] Why does this hang?

2011-07-28 Thread Ross Levis
A little more info. I have MadExcept operating and it detected "The application seems to be frozen." 77fa15ec ntdll.dll KiUserCallbackDispatcher 77e1567d user32.dllPeekMessageA KiUserCallbackDispatcher is where it is hanging. Fro