Andrew Chen wrote:

> I remember reading something in the SrvAny docs about your application 
> needing to ignore some sort of signal if it wanted to survive a logon/logoff.

> >For WIN32 graphical applications: when the currently logged-in user is 
> >logging-off, all WIN32 top-level windows receive WM_QUERYENDSESSION and 
> >WM_ENDSESSION messages. Some WIN32 applications choose to terminate upon 
> >receipt of such messages. In order for your WIN32 application to survive 
> >logoff, it must not do that: instead, your windows procedure should call 
> >the default windows procedure on these messages.}

> Does this even apply to POE?

I know that there is some POE event loop interaction as I have to
explicitly exclude all of the TK loop stuff from my service with command
line parameters to the PDK PerlSvc application. I wonder if POE hooks into
the Windows message loop and doesnt handle these messages?

Regards,

Harley


Reply via email to