The CComCoClass 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.
template< class T, const CLSID* pclsid >
class CComCoClass
Header file: | Atlcom.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |