Demo C++ windows service application
This code example demonstrates how to run a program as a windows service. A service runs in the background of Windows, even if nobody is logged in on the computer or server.
Download the executable and sourcecode here.
Usage of the beeper service program: Open a command prompt and go to the directory containing the service. Then enter one of the following commands:
beeper_service.exe installTo manage the state and properties of all of your Windows services, enter:
Jos de Jong