-
February 27th, 2013, 07:48 PM
#1
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++
http://code.msdn.microsoft.com/windo...rvice-cacf4948
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:
Windows could not start the CppWindowService Sample Service service on Local COmputer.
Error 2: The system cannot find the file specified.
Oddly, looking at the Properties Page of the service, the path of the service is correct.
Please advise what I am doing wrong or what I am missing.
Thanks
mpliam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|