[DUG] Stopping particular services, alternative to services.
Kyley Harris
kyleyharris at gmail.com
Tue Feb 21 14:31:42 NZDT 2006
Any application can easily be designed to run as an App, or as a Service.
Your issues will be with where the code sits. If your business logic is tied
to a gui framework its going to be hard to run the app without a user
session to talk with.
I create all my service apps as duals, so that its easy to test in
development stages.
If you are trying to make an existing app "work" then you need to look
thoroughly at how it works. You mentioned you need networking. If user A for
example has a mapped drive H: = \\one\folder then this wont be available to
your service, unless something was setup especially. You also have to make
sure that the service has privileges for the folders, and network resources
you are wanting to use.
I have often got caught by niggly little things such as forgetting that a
subst drive etc is a user context, and then passed it as a parameter :)
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of David O'Brien
Sent: Tuesday, 21 February 2006 2:24 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Stopping particular services, alternative to services.
It will run as whatever the service runs as.
Why not launch a thread rather than an app?
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Phil Middlemiss
Sent: Tuesday, 21 February 2006 2:09 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Stopping particular services, alternative to services.
If a service launches an app when there is no one logged in - does that
app have the same rights as the service (ie, system)?
Phil Scadden wrote:
> Thanks for all the ideas people. I like the idea of a control service
best. No
> rewite of the real application and it can run in debug as ordinary
application.
> All the fancy footwork done by control app and an application that talks
to
> it. I think I manage all that.
>
> ----------------------------------------------------------
> 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
>
>
>
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list