Class Factories Classes
The following classes implement or support a class factory:
CComClassFactory Provides a default class factory for object creation.
CComClassFactory2 Controls object creation through a license.
CComClassFactoryAutoThread Allows objects to be created in multiple thread-pooled apartments.
CComClassFactorySingleton Creates a single object.
CComCoClass Defines the class factory for the object.