Service wont start under Windows 7: FAILED 1053

混江龙づ霸主 提交于 2020-01-06 06:05:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!