On 4 February 2016 at 17:39, Jy V <[email protected]> wrote: > > > On Thu, Feb 4, 2016 at 5:41 PM, Richard Mace <[email protected]> > wrote: > >> What's the best way of shutting down a service that is a service, having >> the same effect as the user clicking stop. > > Basically, I want my service to monitor a condition, which if met, it will >> stop itself. > > > XMLRAD stop a program registered as a service running following code, > > ​So, would I run this code by creating a TProcess from within my service, to get it to "stop" my service?
Richard​
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
