The following classes are new since ATL 2.1:
Composite Control | CComCompositeControl |
Connection Points | IDispEventImpl |
MMC Snap-In Support | CSnapInItemImpl |
Service Provider Support | IServiceProviderImpl |
Windows Support | CAxDialogImpl
CDialogImplBase — see CDialogImpl |
See Also
See the IObjectSafetyImpl section in Porting from ATL 2.1.
These classes were moved from Atlctl.h to Atlcom.h, to better group the functionality:
The following methods were added to CComPtr and CComQIPtr, for increased functionality. (The following links go to the CComPtr topics.)
The second template argument to CComQIPtr now defaults to __uuidof(T) where T is the first template argument. As a result, in most cases, you no longer must specify the second template parameter. The exception to this rule is for CComQIPtr objects that are of type IUnknown. They must still be declared using the two-template parameter syntax:
CComQIPtr<IUnknown, &IID_IUnknown> spUnk;
This limitation is minor, because it is unusual to use a CComQIPtr for holding an IUnknown.
CWindow has the following new methods:
CWindowImpl, CDialogImpl, and CContainedWindow now do automatic unsubclassing when required.
These classes also have the following new template arguments: