Class Factories Classes
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at ATL 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.
Show: