Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2007

Tip: Looking for answers? Try searching our database.

how to fix error C2872: 'IXMLDOMDocumentPtr' : ambiguous symbol

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
P2P - 08 Aug 2007 09:22 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.