LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can capture the service control message with LabWindows/CVI ?

Using the Instsrv.exe and the srvany.exe tools to register my application as a Windows service, expecting  the application will follow  the OS starting. Due to the service can be interrupted through the manual way, for example, in the service window, one can start o stop a service, so hope to receive the service stop message in my CVI application.

The application use "RunUserInterface()" to support the message  procedure, onece can capture the service stop message, I can use QuitUserInterface() to complete the application. Is there any way to do that? Thanks.

 

 

David

0 Kudos
Message 1 of 1
(2,850 Views)