CService Class: --------------- This example shows how to write a NT service. The files service.cpp/service.hpp defines a class that does the most work for you. The file testsvc.cpp is a short example that is using this class. Features: * service install function * service remove function * service debug on command prompt * event log messages Cmd Prompt Description: ----------------------- Install: testsvc -install Start: net start rsxntsvc (or use Control Panel) Stop: net stop rsxntsvc (or use Control Panel) Deinstall: testsvc -remove Test in debug mode: testsvc [args]