Error
-
If you getting error like that error C2872: 'IXMLDOMParseErrorPtr' : ambiguous symbol could be 'c:\program files\microsoft visual studio 8\vc\include\comdefsp.h(1263) : _com_ptr_t<_IIID> IXMLDOMParseErrorPtr' 1> with 1> [ 1> _IIID=_com_IIID 1> ] 1> or '.\debug\msxml3.tlh(250) : MSXML2::IXMLDOMParseErrorPtr' What would be correct resolution 1. instead of IXMLDOMParseErrorPtr spErr = pXMLDom->parseError; use ::IXMLDOMParseErrorPtr spErr = pXMLDom->parseError; Or use MSXML2::IXMLDOMParseErrorPtr spErr = pXMLDom->parseError;
:)
-
If you getting error like that error C2872: 'IXMLDOMParseErrorPtr' : ambiguous symbol could be 'c:\program files\microsoft visual studio 8\vc\include\comdefsp.h(1263) : _com_ptr_t<_IIID> IXMLDOMParseErrorPtr' 1> with 1> [ 1> _IIID=_com_IIID 1> ] 1> or '.\debug\msxml3.tlh(250) : MSXML2::IXMLDOMParseErrorPtr' What would be correct resolution 1. instead of IXMLDOMParseErrorPtr spErr = pXMLDom->parseError; use ::IXMLDOMParseErrorPtr spErr = pXMLDom->parseError; Or use MSXML2::IXMLDOMParseErrorPtr spErr = pXMLDom->parseError;
:)
-
:-D i don't know if it's your case, but it's commonly bad practice to use a
using namespace
directive, because of such problems of ambiguousness...
Don't know where to start ?
Refer the Forums Guidelines and ask a friend -
:-D i don't know if it's your case, but it's commonly bad practice to use a
using namespace
directive, because of such problems of ambiguousness...
Don't know where to start ?
Refer the Forums Guidelines and ask a friend