[DUG] Stopping particular services, alternative to services.
Leigh Wanstead
leighw at softtech.co.nz
Tue Feb 21 10:03:52 NZDT 2006
Hi Phil,
I would suggest that you write a control application A which is a Windows
service. That should be easy. Your control application A then lunch your
other applications based on parameters.
Regards
Leigh
http://www.salenz.com
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Phil Scadden
Sent: Tuesday, 21 February 2006 9:48 a.m.
To: delphi at ns3.123.co.nz
Subject: [DUG] Stopping particular services, alternative to services.
Okay, here is the picture. Have a application that does continuous real-time
data processing on Windows Server. I need several copies of this application
running at the same time, each distinguished by different startup
parameters.
I need to be able to have several of these started on server boot and also
to be able to start/stop these processes from an interactive session on
the server. The application must continue even if session logs out.
So, all that sounds like service application. Pain though because the
application
needs network resources too.
Q1 - if using services, I might start the service with parameter =1 for one,
parameter=2 for second etc. How do I identify the service session to halt
though when I want to say terminate the service that was started with
parameter=2? Can I use a service name here to distinquish?
Q2 - Is there an alternative to services? I can start up a process at
poweron
with the scheduler service but is there a way to start an application that
isnt a service so that it survives user logout?
----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list