How to: Create Windows Services (C++ Programming)
To create a Windows service, use the Windows Service template, which is available from the New Project dialog box.
The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
To create a Windows Service
On the File menu, click New, and then click Project.
The New Project dialog box appears.
In the Project Types pane, click the Visual C++ Projects node. In the Templates pane, click the Windows Service icon.
In the Name box, enter a unique name for your application.
You can also specify other project and solution settings from the New Project dialog box, but these settings are not required.