Creating Windows service without Visual Studio

前端 未结 4 720
醉话见心
醉话见心 2021-02-04 15:10

So creating a Windows service using Visual Studio is fairly trivial. My question goes a bit deeper as to what actually makes an executable installable as a service & how to

4条回答
  •  忘了有多久
    2021-02-04 16:07

    Basically there are some registry settings you have to set as well as some interfaces to implement.

    Check out this: http://msdn.microsoft.com/en-us/library/ms685141.aspx

    You are interested in the SCM (Service Control Manager).

提交回复
热议问题