Changing a program into a Win Service
I've finished coding a program a few days before. It has a WinMain function, a window procedure function and a couple of more. Now the problem is I have decided to run it as a service. But before attempting to change the code I wanted to ask you for easy ways of doing it.
It can install it's service fine, but starting it gives an 1053 error, as it lacks necessary functions for the service to work. It would be appreciated if you show me a simple way of running the program as a service, with minimal amount of modifications.