Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 May : Machine shutdown fails when service running

www.cryer.info
Managed Newsgroup Archive

Machine shutdown fails when service running

Subject:Machine shutdown fails when service running
Posted by:"Mikael Lenfors" (mika..@lenfors.se)
Date:Thu, 26 May 2005 13:39:38

Hello!

I have a D6 service application running on XP machines. When trying to
Shotdown the machine with Start/Shutdown/Restart nothing happens! If I first
stop the service then it works. In eventlog i get a System / User32 error
1073.

All uses are:  Windows, SysUtils, SvcMgr, Classes, ExtCtrls, Registry,
Forms, Db, ADODB, DateUtils, IpSock, IpTime, IpUtils, ExtCtrls;  (Ip.. are
from Turbo POwers Internet Professional)

There are no events triggered for OnShutdown or OnStop in the service when
trying to shutdowb the machine!

Any ideas?

Regards, Mikael

Replies:

www.cryer.info
Managed Newsgroup Archive