This application illustrates how to control and communicate with a windows service located on the same machine. It allows you to bring up the service's window, to dismiss and minimize it, to start and stop the service and to pass configuration information to the service without physically interacting with the service's own window.
This specific example application enteracts with another CHT demo application called hndwindowsservicedemo.app, but an application of this sort could be made to control multiple services running on the same hardware.
Key templates installed are EmbedWindowFunctions to handle inter-application communication by posting events to the target service's window, EmbedShellFunctions to handle starting and stopping the target service and HandyServiceRemoteControlButtons_ESHF to write all the remote control code.
Any questions, feel free to ask: news.cwhandy.com
Gus M. Creces
The Clarion Handy Tools Page
www.cwhandy.ca (CHT Website)
news.cwhandy.ca (CHT Forum)
JumpStartSplashCHTBlue (Procedure Template: Splash)
|(3) Class Instances Found In JumpStartSplashCHTBlue|
Main (Procedure Template: Window)
|(4) Class Instances Found In Main|