The information in this article applies to:
SYMPTOMS
Building a default ATL project containing a COM object supporting ISupportErrorInfo might result in the following error: This error may also occur when calling the function InlineIsEqualGUID() in your ATL project. CAUSEThe problem occurs because the function InlineIsEqualGUID() is defined both in the ATL header file, AtlBase.h, and the Platform SDK header file, Guiddef.h, in different name spaces. The include paths for the build point first to the Platform SDK include directory, and then to the ATL include directory. In the ATL header, InlineIsEqualGUID() is defined in a name space called "ATL", while in the Platform SDK header it is defined in the global name space. Because AtlBase.h includes the statement
the compiler is unable to distinguish which definition to use.
RESOLUTIONThere are three ways to work around this problem:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: PlatSDK MMC Samples ATL Object Wizard
Keywords : kbCOMt kbDebug kbSDKPlatform kbSDKWin32 kbVC600bug kbATL300bug kbDSupport kbfix kbGrpMFCATL |
Last Reviewed: January 26, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |