EXE to Service
-
-
Hello All, does anyone know how I can run a MFC Executable as a Windows-service? It is a program that periodically checks for a file, an if found processes it and writes results to another file, so it has no user interface. Thanks, Ronald Wilmink.
Here is a wrapper application to start you app as service. http://www.codeproject.com/system/xyntservice.asp[^] But if you want your exe to be registered as service by itself, then you will have to look into samples here in codeproject on how to write a service, and then modify your MFC source code accordingly. Believe its not very difficult.
suhredayan
There is no spoon. -
Hello All, does anyone know how I can run a MFC Executable as a Windows-service? It is a program that periodically checks for a file, an if found processes it and writes results to another file, so it has no user interface. Thanks, Ronald Wilmink.
look for this http://www.liutilities.com/products/wintaskspro/processlibrary/srvany/[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta