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 |
|
AtlModuleRevokeClassObjects |
|
AtlModuleGetClassObject |
|
AtlModuleRegisterServer |
|
AtlModuleUnregisterServer |
|
AtlModuleUnregisterServerEx |
|
AtlModuleUpdateRegistryFromResourceD |
|
AtlModuleRegisterTypeLib |
|
AtlModuleUnRegisterTypeLib |
|
AtlModuleLoadTypeLib |
|
AtlModuleInit |
No longer required: CAtlModule::CAtlModule constructor performs the functionality. |
AtlModuleTerm |
No longer required: CAtlModule::~CAtlModule destructor performs the functionality. |
AtlModuleAddCreateWndData |
|
AtlModuleExtractCreateWndData |
|
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::SetValue(LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL, bool bMulti = false, int nValueLen = -1); |
-or- |
CRegKey::QueryValue(DWORD& dwValue, LPCTSTR lpszValueName); |
|
CRegKey::QueryValue(LPTSTR szValue, LPCTSTR lpszValueName, DWORD* pdwCount); |
-or- |
CDynamicAccessor::GetColumnInfo(IRowset* pRowset, DBORDINAL* pColumns, DBCOLUMNINFO** ppColumnInfo); |