The following items are now obsolete in ATL:
Classes
Methods, Macros, and Global Functions
Beginning with ATL 2.0, the CComConnectionPoint class is obsolete and is replaced by IConnectionPointImpl.
Beginning with ATL 2.0, the CComConnectionPointContainerImpl class is obsolete and is replaced by IConnectionPointContainerImpl. For backward compatibility, ATL defines the following:
#define CComConnectionPointContainerImpl IConnectionPointContainerImpl
Beginning with ATL 2.0, the CComDualImpl class name is obsolete and is replaced by IDispatchImpl. For backward compatibility, ATL defines the following:
#define CComDualImpl IDispatchImpl
Beginning with ATL 2.0, the CComDynamicArrayCONNECTDATA class is obsolete and is replaced by CComDynamicUnkArray.
Beginning with ATL 2.0, the CComISupportErrorInfoImpl class name is obsolete and is replaced by ISupportErrorInfoImpl. For backward compatibility, ATL defines the following:
#define CComISupportErrorInfoImpl ISupportErrorInfoImpl
Beginning with ATL 2.0, the CComModule::UpdateRegistryFromResource method is obsolete and is replaced by CComModule::UpdateRegistryFromResourceD. For backward compatibility, ATL defines the following:
#define UpdateRegistryFromResource UpdateRegistryFromResourceD
Beginning with ATL 2.0, the CComProvideClassInfo2Impl class name is obsolete and is replaced by IProvideClassInfo2Impl. For backward compatibility, ATL defines the following:
#define CComProvideClassInfo2Impl IProvideClassInfo2Impl
Beginning with ATL 2.0, the CComStaticArrayCONNECTDATA class is obsolete and is replaced by CComUnkArray.
Beginning with ATL 2.0, the DECLARE_STATIC_REGISTRY_RESOURCE macro is obsolete. To statically link to the Registrar, you specify the #define _ATL_STATIC_REGISTRY statement in stdafx.h and use the DECLARE_REGISTRY_RESOURCE macro.
For backward compatibility, ATL defines the following:
#define DECLARE_STATIC_REGISTRY_RESOURCE(x) DECLARE_REGISTRY_RESOURCE(x)
Beginning with ATL 2.0, the DECLARE_STATIC_REGISTRY_RESOURCEID macro is obsolete. To statically link to the Registrar, you specify the #define _ATL_STATIC_REGISTRY statement in stdafx.h and use the DECLARE_REGISTRY_RESOURCEID macro.
For backward compatibility, ATL defines the following:
#define DECLARE_STATIC_REGISTRY_RESOURCEID(x) DECLARE_REGISTRY_RESOURCEID(x)
Beginning with ATL 2.0, the RELEASE_AND_DESTROY macro is obsolete.