문제

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,

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top