Tutorial :Exe to service possible?



Question:

Is it possible to have a .exe run as a windows service?


Solution:1

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


Solution:2

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


Solution:3

This works great in Windows:

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

JR


Solution:4

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.


Solution:5

This as well: RunAsService


Solution:6

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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »