Sravan Goud
Sravan Goud

Reputation: 113

Visual studio Project template to create a windows service in c++

Is there a project template available in Microsoft Visual studio 2010 to create a windows service in c++.

Upvotes: 5

Views: 4947

Answers (2)

Raphael
Raphael

Reputation: 11

In VS 2013,you can using the ATL Project wizard to create a windows service program. And you still can set up your service class inheriting a ServiceBase class. From MSDN: How to: Write Services Programmatically

Upvotes: 1

Ricky
Ricky

Reputation: 2374

Unfortunately, the C++/CLI Windows Service template was removed from Visual Studio 2010. If you would like to make-use of the .Net Framework support for Windows Services, the C# version of the wizard still exists. If you would like to develop a Native windows service, you can use the ATL Project wizard and select the 'Service (EXE)' application type.

Upvotes: 0

Related Questions