What is the difference between xerces-c_3_1.dll and xerces-c_3_1D.dll in Apache Xerces pre-built binaries?
質問
What is the difference between xerces-c_3_1.dll and xerces-c_3_1D.dll in apache xerces pre-built windows binaries (xerces-c-3.1.1-x86-windows-vc-9.0.zip from http://xerces.apache.org/xerces-c/download.cgi)?
(Similarly there is also xerces-c_3.lib vs xerces-c_3D.lib)
I assume it has to do with different xerces build options, but I can't seem to find any documentation describing the differences.
解決
The builds with the D suffix are debug builds. From the build instructions:
When building your own applications you need to make sure that you are linking your application with the xerces-c_3.lib (Release) and/or xerces-c_3D.lib (Debug) libraries (or the static versions of them) and also that the associated DLLs are somewhere in the executable/DLL search path (PATH).
他のヒント
I have found the solution. I didn't remove the kid from the TreeRoot
correctly before adding it to another position. This is the correct line
PDSTreeRootRemoveKid(*myRoot, pdsElem);
PDSElementInsertKid(pdsDocElem,pdsElem,kPDSAfterLast);