Xerces static library
To use the xerces C++ parser with a static library, we suppose you already have used xerces with dynamic library and that the project is correctly configured:
- download the source code at: http://xml.apache.org/xerces-c/download.cgi
- Open the $xerces_src\Projects\Win32\VC7\xerces-all\xerces-all.sln
- Right-click on the XercesLib
- Change configuration Type: Static library (.lib)
- Compile Xerceslib
- Put the library in the "resource files" directory.
2 Comments:
At least in the current version, you need to define the preprocessor symbol XML_LIBRARY, to cause the calling conventions to match up correctly and the right library to be linked.
Should have said, in your project...
Post a Comment
<< Home