windows service
-
i want to write a windows service. i tried to tried one. there is 2 .cpp file and 1 .h file. the exe is created but there is runtime error. actually i opened a WIN32 Application project and then added the files to the project and then created the executable. what is the correct way to create a windows service app. please send some links?
-
i want to write a windows service. i tried to tried one. there is 2 .cpp file and 1 .h file. the exe is created but there is runtime error. actually i opened a WIN32 Application project and then added the files to the project and then created the executable. what is the correct way to create a windows service app. please send some links?
Hi, Why dont you use the App Wizard to create a new ATL COM AppWizard and from the list select Service(EXE). The AppWizard handles all the interface with the Service Control Manager. All that you need to do is add code in the Run() function. Hope this helps you. Regards, Mahadevan.