Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

NoteNote:

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

  1. On the File menu, click New, and then click Project.

    The New Project dialog box appears.

  2. In the Project Types pane, click the Visual C++ Projects node. In the Templates pane, click the Windows Service icon.

  3. In the Name box, enter a unique name for your application.

    NoteNote:

    You can also specify other project and solution settings from the New Project dialog box, but these settings are not required.

  4. Click OK.

Community Additions

ADD
Show:
© 2015 Microsoft