The CComClassFactory2 class implements the IClassFactory2 interface, which is an extension of IClassFactory. IClassFactory2 controls object creation through a license. A class factory executing on a licensed machine can provide a run-time license key. This license key allows an application to instantiate objects when a full machine license does not exist.
template< class license >
class CComClassFactory2 : public CComClassFactory2Base, license
Header file: | Atlcom.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComClassFactory2 Methods, CComClassFactorySingleton, CComGlobalsThreadModel, CComObjectRootEx