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.
Daniel Strigl - 08 Aug 2007 10:00 GMT
Hi P2P!
> Compiling...
> Myfiles.cpp
[quoted text clipped - 8 lines]
> ]
> or 'D:\vs2005\Myproject\debug\msxml3.tlh(300) : MSXML2::IXMLDOMDocumentPtr'
Maybe this will help you:
http://support.microsoft.com/?scid=kb%3Ben-us%3B269194&x=19&y=6

Signature
Daniel Strigl [daniel.strigl@gmx.takethisout.at, remove 'takethisout.']
Web: http://www.hh-system.com/danielstrigl
Blog: http://geekswithblogs.net/dastblog