Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Discrepancy in MSXML APIs

From: dpw@----------.------
To: NULL
Date: 6/2/2004 4:46:00 PM
Here is more information for you to diagnose my problem with this compiler error

debug\msxml4.tli(49) : error C2872: 'DOMNodeType' : ambiguous symbo

My code calls the constants from DOMNodeType like NODE_TEXT as follows

  IXMLDOMNodePtr spChildNode = spElementIn->firstChild
  memset(cElementText,0,iBufferLength)

  //  Check, and keep looking until we find i
  while ( (spChildNode != NULL) &
	  (spChildNode->nodeType != MSXML2::NODE_TEXT) 
  
    spChildNode = spChildNode->nextSibling
  

In Tools --> Opitons --> Directories Tab,
The order of my Includes files are as follows
C:\PROGRAM FILES\MICROSOFT\INTERNET EXPLORER 6SP1 HEADER AND LIBRARY FILES\INCLUD
C:\PROGRAM FILES\MICROSOFT SDK\INCLUD
C:\Program Files\Microsoft Visual Studio\VC98\INCLUD
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUD
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUD

This is the same settings as when I compile the sample from CodeGuru without any problem
What else is wrong

I looked into http://support.microsoft.com/default.aspx?scid=kb;en-us;26919
and it did not help me much

Hope to hear from you soon

Thanks
ADX Dev


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent