Fix ExitWindows()

Spark, Paul (EFTPOS NZ) PSpark at eftpos.co.nz
Sun Jul 16 19:24:49 CDT 2006


Hi there. I discovered the following webpage while looking for a solution for a Windows XP Embedded problem that I have:

http://www.winehq.org/pipermail/wine-patches/2006-February/024600.html

The problem I have is that I am running a Service which can only receive a WM_QUERYENDSESSION message once. That is, I start the service, log off the user, (receive the WM_QUERYENDESSION message), log back on, *try* to log off the user again but XP won't allow the user to log off - my application no longer gets the WM_QUERYENDESSION message.

Looking at the code snippet on your webpage.. I am wondering if it is possible that the WM_QUERYENDSESSION message is being sent to another (incorrect) window handle?? 

Do you have any advice you could offer? Sorry for the intrusion but this is becoming a matter of desperation for me.

Thank you


Paul Spark
Lead Software Developer		
EFTPOS New Zealand Limited
69 Tory Street, Wellington
Telephone: +64 4 913 4568
Facsimile:    +64 4 381 4897
Email: pspark at eftpos.co.nz
> EFTPOS NZ Limited is a subsidiary of ANZ National Bank Limited
> 
> 



More information about the wine-patches mailing list