I have attached a very reliable piece of code for starting and stopping services. This will show you how to get the handle etc
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Rohit > Sent: Friday, 23 July 2004 3:44 p.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Services > > Has anyone used QueryServiceConfig ? > > I cant get it working. When I pass the structure Service_Config it > returns an error saying it needs 226 bytes (whereas the size of the > Service_Config is 36 bytes).Regards > > Rohit > > ==================================================== > ================== > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New > Zealand > PH (649) 489-2280 > FX (649) 489-2290 > email [EMAIL PROTECTED] or [EMAIL PROTECTED] > ==================================================== > ================== > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi
uHssServiceStartStop.pas
Description: Binary data
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
