following error occurs while builiding code in Visual Studio 2005  
Author Message
NSRS





PostPosted: XML and the .NET Framework, following error occurs while builiding code in Visual Studio 2005 Top

following error occurs while builiding code in Visual Studio 2005, Can any body help me regarding this:

c:\nov 8th 2006\xmlfile.cpp(64) : error C2872: 'CLSID_DOMDocument' : ambiguous symbol

could be 'c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h(9589) : const CLSID CLSID_DOMDocument'

or 'c:\nov 8th 2006\debug\msxml.tlh(951) : const GUID MSXML::CLSID_DOMDocument'




.NET Development5  
 
 
Cindy Meister





PostPosted: XML and the .NET Framework, following error occurs while builiding code in Visual Studio 2005 Top

Apparently, you're trying to work with XML This forum focuses on VSTO, which also has a "Document" object. But it's Not the same one you're using. I'm going to more your message to amore appropriate forum. For the future, if you don't know where to ask, post in the "Where is the forum for... " forum

 
 
Viorel.





PostPosted: XML and the .NET Framework, following error occurs while builiding code in Visual Studio 2005 Top

Maybe you have to put "MSXML2::" before your ambiguous symbols See http://support.microsoft.com/kb/316317. I hope it helps.