Obsolete ATL Topics

The following items are now obsolete in ATL:

Classes

Methods, Macros, and Global Functions


CComConnectionPoint

Beginning with ATL 2.0, the CComConnectionPoint class is obsolete and is replaced by IConnectionPointImpl.

Obsolete ATL Topics


CComConnectionPointContainerImpl

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 

Obsolete ATL Topics


CComDualImpl

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

Obsolete ATL Topics


CComDynamicArrayCONNECTDATA

Beginning with ATL 2.0, the CComDynamicArrayCONNECTDATA class is obsolete and is replaced by CComDynamicUnkArray.

Obsolete ATL Topics


CComISupportErrorInfoImpl

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 

Obsolete ATL Topics


CComModule::UpdateRegistryFromResource

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 

Obsolete ATL Topics


CComProvideClassInfo2Impl

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 

Obsolete ATL Topics


CComStaticArrayCONNECTDATA

Beginning with ATL 2.0, the CComStaticArrayCONNECTDATA class is obsolete and is replaced by CComUnkArray.

Obsolete ATL Topics


DECLARE_STATIC_REGISTRY_RESOURCE

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)

Obsolete ATL Topics


DECLARE_STATIC_REGISTRY_RESOURCEID

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)

Obsolete ATL Topics


RELEASE_AND_DESTROY

Beginning with ATL 2.0, the RELEASE_AND_DESTROY macro is obsolete.

Obsolete ATL Topics