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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] > application A then lunch your other applications based on parameters. > Mmm... Lunch. I'm outa here. Steve _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
