The following classes implement or support a class factory:
ATL Class Overview
See Also Aggregation and Class Factory Macros