This article provides a general list of features that have been added or changed since ATL 1.1:
For more information about ATL, see the articles ATL Article Overview and ATL Class Overview.
The ATL Object Wizard allows you to insert several different types of objects and controls into your project, including:
For more information about these objects, see the article Creating an ATL Project. For step-by-step instructions on inserting a control and adding custom properties and events, see the ATL Tutorial.
Following is a list of all new and renamed classes since ATL 1.1. For an overview of all classes, see the article ATL Class Overview.
ATL 2.0 includes 39 new classes, which can be categorized as follows:
Back to New Classes | Back to Top
In addition to 39 new classes, 7 classes have been renamed. Through a #define statement, some of the old names remain compatible with ATL 2.0. However, it is recommended that you use the new names. For more information, see Obsolete ATL Topics.
Old name | New name |
CComConnectionPoint | IConnectionPointImpl (Not backward compatible. You must use the new name.) |
CComConnectionPointContainerImpl | IConnectionPointContainerImpl |
CComDualImpl | IDispatchImpl |
CComDynamicArrayCONNECTDATA | CComDynamicUnkArray (Not backward compatible. You must use the new name.) |
CComISupportErrorInfoImpl | ISupportErrorInfoImpl |
CComProvideClassInfo2Impl | IProvideClassInfo2Impl |
CComStaticArrayCONNECTDATA | CComUnkArray (Not backward compatible. You must use the new name.) |
As described in Obsolete ATL Topics, the following classes have been renamed.
Old name | New name |
CComConnectionPointContainerImpl | IConnectionPointContainerImpl |
CComConnectionPoint | IConnectionPointImpl |
CComDynamicArrayCONNECTDATA | CComDynamicUnkArray |
CComStaticArrayCONNECTDATA | CComUnkArray |
For information about supporting connection points in ATL 2.0, see the article Connection Points.
In ATL 2.0, you no longer need to pass a CComAutoCriticalSection or CComCriticalSection class member to any of the following macros:
The following CComBSTR methods have been added since ATL 1.1:
Method | Description |
Append | Appends a string to the CComBSTR object. |
AppendBSTR | Appends a BSTR to the CComBSTR object. |
Length | Returns the length of CComBSTR object's BSTR member. |
ReadFromStream | Loads the CComBSTR object from a stream. |
WriteToStream | Saves the CComBSTR object to a stream. |
operator += | Appends another CComBSTR object to your CComBSTR object. |
The following CComVariant methods have been added or changed since ATL 1.1:
Method | Description |
Attach | Attaches a VARIANT to the CComVariant object. |
CComVariant | The constructor takes additional parameter types. |
ChangeType | Converts the CComVariant object to a new type. |
Clear | Clears the CComVariant object. |
Copy | Copies a VARIANT to the CComVariant object. |
Detach | Detaches the underlying VARIANT from the CComVariant object. |
ReadFromStream | Loads the CComVariant object from a stream. |
WriteToStream | Saves the CComVariant object to a stream. |
operator = | Takes additional parameter types. |
The ATL 2.x Registry Component (Registrar) is provided in atl.dll. It no longer supports Automation or the 1.1 methods that operated on a single key. For more information about the Registrar, see The ATL Registry Component (Registrar).
For information about all renamed and obsolete topics in ATL 2.0, see Obsolete ATL Topics.