Starting a windows service fails with error 1053

后端 未结 10 1338
逝去的感伤
逝去的感伤 2020-12-10 13:41

I have a windows service that is failing to start, giving an error \"Error 1053: The service did not respond to the start or control request in a timely fashion\".

10条回答
  •  醉梦人生
    2020-12-10 14:35

    If the StartRoutine is empty, you are probably starting it somewhere else.

    IIRC you need to fire off a worker thread, and then return from StartRoutine.

提交回复
热议问题