CComClassFactory2 Class Members

IClassFactory Methods

CreateInstance Creates an object of the specified CLSID.
LockServer Locks the class factory in memory.

IClassFactory2 Methods

CreateInstanceLic Given a license key, creates an object of the specified CLSID.
GetLicInfo Retrieves information describing the licensing capabilities of the class factory.
RequestLicKey Creates and returns a license key.

CComClassFactory2 Overview