isekaijin
isekaijin

Reputation: 19762

Visual C++ Project type for Windows Service that calls the WinAPI directly

I want to create a Windows Service using the Windows API (no .NET, no ATL/COM). What kind of project do I have to create in Visual C++ 2010?

Upvotes: 0

Views: 1577

Answers (1)

Erik
Erik

Reputation: 91300

"Win32 Console Application" or "Win32 Project" - then deal with the service setup/control code yourself.

See Writing a Service Program's main Function

Upvotes: 2

Related Questions