Re: Detect log off in Console App

Tech-Archive recommends: Speed Up your PC by fixing your registry



"PT Moran" <PTMoran@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F6D56B0E-1713-481A-A10E-3F2C4FE1C182@xxxxxxxxxxxxxxxx
I tried creating a separate window, in a separate thread as a message only
window. It did not see the WM_QUERYENDSESSION message. Could it be that
the
console application is stopping the thread before it could receive the
message?

Sorry about that. I just tried it here without success either. If I get some
time, I'll try to find out if it is possible to proceed along the way I
sketched.

Regards.
Will


.