开发者

Exe to service possible?

Is it possible 开发者_如何转开发to have a .exe run as a windows service?


You can use a Windows app called SC.exe : http://support.microsoft.com/kb/251192


yes.

cygrunsrv (cygwin) http://web.mit.edu/cygwin/cygwin_v1.3.2/usr/doc/Cygwin/cygrunsrv.README or INSTSRV/SRVANY (microsoft) http://support.microsoft.com/kb/137890


This works great in Windows:

http://www.codeproject.com/KB/system/xyntservice.aspx

JR


A paid app, Application as service does this as well. It has a GUI for adding, removing and configuring services that makes things easy.

If you're comfortable with Cygwin though, it's free and I've used that to good effect also.


This as well: RunAsService


Nope. It must inherit from ServiceBase and be installed to the OS as a service... The os basically is the process/context your code runs in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜