Question

I have couple of questions regarding to c++ xml. I am using Visual Studio 2010.

  1. Should I use msxml6.dll for my c++ xml parsing?

  2. I have installed the msxml6.dll, however, I could not find where it is installed. Should see a new directory called MSXML 6.0 under C:\Program Files (x86)\ or C:\Program Files\? But I did not see any. However, I see msxml6.dll in C:\Windows\System32.

  3. How I add reference to the msxml6.dll in my c++ project?

Thanks, ZAJ,

Was it helpful?

Solution

I suggest you to use the more lightweight XML library -- tinyXML

The MSXML is a COM-server. You can include it using the import directive. Also you can use the MSXML.h file that must be included in the MSXML SDK. To use any COM-server you should call two functions: CoInitialize and CoCreateInstance

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top