I have a version of Visual Studio 2005 that doesn't include a Windows Service project template. Can I just build a (C++) console application and install it as a service without doing anything special within the application code itself.
+1
A:
All the service project template does is supply you with some source code to get started. Although you can't take an ordinary console application and make it a service app, you can implement the ServiceMain function following the instructions on that reference page.
Greg Hewgill
2009-11-22 07:04:07