Hi, I've modified the TService class to register a HandlerEx callback thru RegisterServiceCtrlHandlerEx(). When I switch to another user (FUS on XP sp2) the service is notified, however both dwEventType as well as lpEventData^.dwSessionId return the same values (WTS_SESSION_LOCK / WTS_SESSION_UNLOCK). Any idea why I do not get the session id in member dwSessionId?
Thanks, Arno Garrels _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

