CComCoClass

This class provides methods for retrieving an object's CLSID and setting error information. Any class object that can be created externally should be derived from CComCoClass, which also defines the default class factory and aggregation model for your object.

At a Glance

Header file: Atlcom.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

template< class T, const CLSID* pclsid >

class CComCoClass