[Lazarus] Stopping a service from within a service
Richard Mace
richard.mace at gmail.com
Thu Feb 4 20:57:25 CET 2016
On 4 February 2016 at 17:39, Jy V <jyv110 at gmail.com> wrote:
>
>
> On Thu, Feb 4, 2016 at 5:41 PM, Richard Mace <richard.mace at gmail.com>
> 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​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160204/c39b5424/attachment-0003.html>
More information about the Lazarus
mailing list