[DUG] Stopping particular services, alternative to services.
John Bird
johnkbird at paradise.net.nz
Tue Feb 21 13:05:14 NZDT 2006
For stopping an individual process by parameter name one way to do it is do
it the other way around, maintain a central status file or other control
structure - your control program could set flags in this control file/etc as
to which processes should be running or not at any moment, and each of the
processes check back to this control on a timer and if the process has been
instructed to terminate it terminates itself.
Ie the numbered service (which knows which one it is) looks for instructions
rather than you having to find the instance you are after to kill it, if
finding the correct one is complex.
John
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Stephen Barker
Sent: Tuesday, 21 February 2006 12:30 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Stopping particular services, alternative to services.
> -----Original Message-----
> From: Leigh Wanstead [mailto:leighw at softtech.co.nz]
> application A then lunch your other applications based on parameters.
>
Mmm... Lunch.
I'm outa here.
Steve
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list