Bagikan melalui


Obsolete ATL Topics

The following items are obsolete in the Active Template Library (ATL).

Classes

Methods, Macros, and Global Functions

Deprecated ATL Functions

The following table lists deprecated functions and the functions that should be used in their place.

ATL_DEPRECATED Function

Substitute Function

AtlModuleRegisterClassObjects

AtlComModuleRegisterClassObjects

AtlModuleRevokeClassObjects

AtlComModuleRevokeClassObjects

AtlModuleGetClassObject

AtlComModuleGetClassObject

AtlModuleRegisterServer

AtlComModuleRegisterServer

AtlModuleUnregisterServer

AtlComModuleUnregisterServer

AtlModuleUnregisterServerEx

AtlComModuleUnregisterServer

AtlModuleUpdateRegistryFromResourceD

AtlUpdateRegistryFromResourceD

AtlModuleRegisterTypeLib

AtlRegisterTypeLib

AtlModuleUnRegisterTypeLib

AtlUnRegisterTypeLib

AtlModuleLoadTypeLib

AtlLoadTypeLib

AtlModuleInit

No longer required: CAtlModule::CAtlModule constructor performs the functionality.

AtlModuleTerm

No longer required: CAtlModule::~CAtlModule destructor performs the functionality.

AtlModuleAddCreateWndData

AtlWinModuleAddCreateWndData

AtlModuleExtractCreateWndData

AtlWinModuleExtractCreateWndData

RegisterProgID

Obsolete method of registration. Use RGS files instead. See Creating Registrar Scripts for details.

UpdateRegistryClass

Obsolete method of registration. Use RGS files instead. See Creating Registrar Scripts for details.

RegisterClassHelper

Obsolete method of registration. Use RGS files instead. See Creating Registrar Scripts for details.

UnregisterClassHelper

Obsolete method of registration. Use RGS files instead. See Creating Registrar Scripts for details.

CRegKey::SetValue(DWORD dwValue, LPCTSTR lpszValueName);

CRegKey::SetDWORDValue

CRegKey::SetValue(LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL, bool bMulti = false, int nValueLen = -1);

CRegKey::SetStringValue

-or-

CRegKey::SetMultiStringValue

CRegKey::QueryValue(DWORD& dwValue, LPCTSTR lpszValueName);

CRegKey::QueryDWORDValue

CRegKey::QueryValue(LPTSTR szValue, LPCTSTR lpszValueName, DWORD* pdwCount);

CRegKey::QueryStringValue

-or-

CRegKey::QueryMultiStringValue

CDynamicAccessor::GetColumnInfo(IRowset* pRowset, DBORDINAL* pColumns, DBCOLUMNINFO** ppColumnInfo);

CDynamicAccessor::GetColumnInfo

See Also

Reference

ATL and MFC Version Numbers

Other Resources

ATL Reference