CComClassFactory2

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.

Syntax

template< class license >

class CComClassFactory2 : public CComClassFactory2Base, license

At a Glance

Header file: Atlcom.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComClassFactory2 Methods, CComClassFactorySingleton, CComGlobalsThreadModel, CComObjectRootEx