This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How to stop a service programatically with Win32service?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 23, 2009
05:42 AM
How to stop a service programatically with Win32service?
Hi,
I was wondering if I was not blind.
In the API of Win32Service, there is a startNTService but no stopNTService.
How can I stop a service with the API?
Thanks,
X.
I was wondering if I was not blind.
In the API of Win32Service, there is a startNTService but no stopNTService.
How can I stop a service with the API?
Thanks,
X.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 23, 2009
09:45 AM
Perhaps use SERVICE_CONTROL_STOP with the controlNTService method?