CComClassFactory2

This 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.

At a Glance

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

Syntax

template< class license >

class CComClassFactory2 : public CComClassFactory2Base, license

See Also

CComClassFactorySingleton, CComGlobalsThreadModel, CComObjectRootEx