The information in this article applies to:
SYMPTOMS
Unregistering an ATL DLL or .exe file that was built with a version of
Visual C++ prior to 6.0 might result in an access violation when Atl.dll
(version 3.00.8168) that ships with Visual C++6.0 is installed on the
machine.
Running an ATL .exe file with the "/Unregserver" switch may display a dialog box titled "OleMainThreadWndName: <server.exe> - Application Error", with the following error message: The ATL server has to be of build type Release MinSize or Unicode Release MinSize. CAUSEIn the version of Atl.dll that comes with Visual C++ 6.0, the _ATL_OBJMAP_ENTRY structure has an additional member called "pfnGetCategoryMap". During unregistration, AtlModuleUnregisterServerEx() tries to access this member, which does not exist for ATL servers built prior to Visual C++ 6.0, and the access violation occurs. RESOLUTIONTo work around this problem, use one of the following options:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why Additional query words:
Keywords : kberrmsg kbservicepack kbActiveX kbCOMt kbRegistry kbVC600bug kbATL300 kbATL300bug kbVS600sp2 kbfaq kbVS600SP1 kbVS600sp3fix kbGrpMFCATL |
Last Reviewed: January 19, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |