Click here to Skip to main content
15,886,799 members
Articles / Programming Languages / C++

A general purpose NT Service Class

Rate me:
Please Sign up or sign in to vote.
4.59/5 (20 votes)
6 Jul 2004CPOL2 min read 61.5K   3.1K   43  
Build a NT Service
/******************************************************************************/
/*
/*    NT Service Class
/*
/*    copyright 2003  , Stefan Voitel - Berlin / Germany
/*
/*    stefan.voitel@winways.de	
/******************************************************************************/

#ifndef TSERVICE_CLASS_INCLUDED
#define TSERVICE_CLASS_INCLUDED

#if ! defined (_WIN32_WINNT)
  #define _WIN32_WINNT  0x0400
#endif
  
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

#include "cService.h"
#include "cService.cpp"

#endif // TSERVICE_CLASS_INCLUDED

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions