You can do this without creating a service.

Create a new scheduled task and set it to start when the machine is
started. We do this with a few of our apps and it works fine. One trap
for young players is that sheduled tasks have an option to stop the
process after 73 hours which is on by default. Make sure you switch this
off.

Stacey


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert martin
> Sent: Thursday, 1 July 2004 16:48
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Windows services
> 
> 
> Hi Phil
> 
> The application is a TCP server application that has some 
> minimal windows interface (that need not be displayed).  We 
> have a client who wants it to run without a user logging on.  
> We were kind of hoping for a simple way of running a standard 
> app as a service.  We are currently porting the application 
> (client and server) from Dbase to Firebird so we really don't 
> have the time to do major changes to the current version.  I found
> 
> http://www.activeplus.com/us/products/smill/
> 
> which looks good but seems very expensive for what we want.
> 
> Rob Martin
> Software Engineer
> 
> phone 03 377 0495
> fax 03 377 0496
> web www.chreos.com
> ----- Original Message ----- 
> From: "Phil Scadden" <[EMAIL PROTECTED]>
> To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
> Sent: Thursday, July 01, 2004 4:20 PM
> Subject: Re: [DUG] Windows services
> 
> 
> > > We have a large existing application (server) that one of 
> our users
> would
> > > like to run as a service.  Is there an easy way to achieve this?
> >
> > Depends. if it is an application without user interfaces, that will 
> > move happily into a services Execute thread, then yes. You need to 
> > consider things like privileges required, and make sure it can run 
> > from local hard drive (getting services to see network 
> devices is fun 
> > - NOT).
> >
> > If there is a user-interface component, then really need to 
> separate 
> > that out into separate app that can communicate with the 
> server. Not 
> > so simple.
> >
> > ----------------------------------------------------------
> > Phil Scadden, Senior Scientist.
> > 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
> > [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
> >
> >
> 
> _______________________________________________
> 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

Reply via email to