Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I just installed the newest Microsoft XML parser and am trying to make use of it. Problem is, I've included all the header and dll files they tell me to, but the function prototypes given in the documentation do not match the functions the compiler wants.
I get errors like this:
e:\users\apauls\my documents\pseudo files\xmlload.cpp(79) : error C2039: 'document' : is not a member of 'MSXML2'
e:\users\apauls\my documents\pseudo files\xmlload.cpp(79) : error C2660: 'getElementsByTagName' : function does not take 2 parameterswhere line (79) is:
hr = document->getElementsByTagName(_bstr_t("medals"), &nodeList);even though the SDK shows the following:
HRESULT getElementsByTagName(
BSTR tagName,
IXMLDOMNodeList **resultList);Has anybody seen anything like this before?

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |