February 27th, 2013, 07:48 PM
Windows Service in Win7 would be nice ... but ...
Through courtesy of:
A basic Windows service in C++ (CppWindowsService)
This code sample demonstrates creating a basic Windows Service application in VC++
I downloaded and built the above service on Win7 Ultimate (64bi) VS 2010. All seemed to go well and I was able to install the service using the Command Prompt. However, attempting to start the service was not possible, even when opening the Control Panel/Administrative Tools/Services as Administrator. Attempts to use the Start command were invariably met with:
Oddly, looking at the Properties Page of the service, the path of the service is correct.
Windows could not start the CppWindowService Sample Service service on Local COmputer.
Error 2: The system cannot find the file specified.
Please advise what I am doing wrong or what I am missing.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!