I have created an NT Service using CNTService class. This application is a console application. I was able to successfully install and uninstall the service. But when I tried to start the service, I got an Error
Error 183, Cannot Create a File when that file already exists.
Can any one help me out. I am using the project given in the article
"Creating a Simple Win32 Service in C++
Microsoft Developer Network Technology Group"
in MSDN, as my starting point of developing the code and have modified the onInit and RUN member functions.
Also how can I debug an NT Service when it is running??