P
P2P
Hi all,
I have a project that compile without error on VC 6 (XP Pro service pack 2 )
but when i port to VC 8 (2005) then have error during compile as below:
//--------------------------------------------------------------------------------------
Compiling...
Myfiles.cpp
D:\vs2005\Myproject\Myfiles.h(14) : error C2872: 'IXMLDOMDocumentPtr' :
ambiguous symbol
could be 'D:\program files\microsoft visual studio
8\vc\include\comdefsp.h(1230) : _com_ptr_t<_IIID> IXMLDOMDocumentPtr'
with
[
_IIID=_com_IIID<IXMLDOMDocument,&
_GUID_2933bf81_7b36_11d2_b20e_00c04f983e60>
]
or 'D:\vs2005\Myproject\debug\msxml3.tlh(300) : MSXML2::IXMLDOMDocumentPtr'
//-----------------------------------------------------------------------------------------
Anyone can help me how to fix this error?
Thank for any your help.
I have a project that compile without error on VC 6 (XP Pro service pack 2 )
but when i port to VC 8 (2005) then have error during compile as below:
//--------------------------------------------------------------------------------------
Compiling...
Myfiles.cpp
D:\vs2005\Myproject\Myfiles.h(14) : error C2872: 'IXMLDOMDocumentPtr' :
ambiguous symbol
could be 'D:\program files\microsoft visual studio
8\vc\include\comdefsp.h(1230) : _com_ptr_t<_IIID> IXMLDOMDocumentPtr'
with
[
_IIID=_com_IIID<IXMLDOMDocument,&
_GUID_2933bf81_7b36_11d2_b20e_00c04f983e60>
]
or 'D:\vs2005\Myproject\debug\msxml3.tlh(300) : MSXML2::IXMLDOMDocumentPtr'
//-----------------------------------------------------------------------------------------
Anyone can help me how to fix this error?
Thank for any your help.