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.

CAtlServiceModuleT Class

This class implements a service.

template < 
   class T, 
   UINT nServiceNameID  
> 
class ATL_NO_VTABLE CAtlServiceModuleT : 
   public CAtlExeModuleT< T >

T

Your class derived from CAtlServiceModuleT.

nServiceNameID

The resource identifier of the service.

CAtlServiceModuleT, derived from CAtlExeModuleT, implements a ATL Service module. CAtlServiceModuleT provides methods for command-line processing, installation, registering, and removal. If extra functionality is required, these and other methods can be overridden.

This class replaces the obsolete CComModule Class used in earlier versions of ATL. See ATL Module Classes for more details.

Header: atlbase.h

Community Additions

ADD
Show:
© 2015 Microsoft