abcfantasy
Programmer
I've made this application that detects windows shutdown and stops it. I did this using the following procedure:
It worked correctly on a normal application. But as a service application, it does not work (does not even enter the procedure). I did install and start the service.
Any help is appreciated
Thanks in advance
Andrew
ABC -
Code:
procedure TMyForm.WMQueryEndSession(var Msg: TWMQueryEndSession);
begin
Msg.Result := 0;
end;
It worked correctly on a normal application. But as a service application, it does not work (does not even enter the procedure). I did install and start the service.
Any help is appreciated
Thanks in advance
Andrew
ABC -