问题
I wrote a C++ service that functions perfectly under Windows XP but fails to start in Windows 7. SC CREATE returns success, however, SC START returns FAILED 1053: The service did not respond to the start or control request in a timely fashion. From what I understand this is caused by timeout, but I receive the error immediately.
Is this a problem with my service code or some setting in 7?
Does Windows 7 send service control requests differently then XP?
If so, how would I go about catching the start request?
Please let me know if you need to see the code as well as any other information that will help solve this problem.
Thanks
回答1:
Solved Problem by installing MSVCR100D.dll into system32. No need to even change my code.
来源:https://stackoverflow.com/questions/5206597/service-wont-start-under-windows-7-failed-1053