0

apache xerces 预构建的 Windows 二进制文件中的 xerces-c_3_1.dll 和 xerces-c_3_1D.dll 有什么区别(来自http://xerces.apache 的 xerces-c-3.1.1-x86-windows-vc-9.0.zip .org/xerces-c/download.cgi)?

(同样还有 xerces-c_3.lib vs xerces-c_3D.lib)

我认为它与不同的 xerces 构建选项有关,但我似乎找不到任何描述差异的文档。

4

2 回答 2

1

带有 D 后缀的构建是调试构建。从构建说明

在构建自己的应用程序时,您需要确保将应用程序与 xerces-c_3.lib(发布)和/或 xerces-c_3D.lib(调试)库(或它们的静态版本)链接,并且关联的 DLL 位于可执行文件/DLL 搜索路径 (PATH) 中的某个位置。

于 2012-07-04T21:01:27.713 回答
-1

我找到了解决方案。TreeRoot在将孩子添加到另一个位置之前,我没有正确地将其从其中移除。这是正确的线

PDSTreeRootRemoveKid(*myRoot, pdsElem); PDSElementInsertKid(pdsDocElem,pdsElem,kPDSAfterLast);

于 2013-07-22T06:28:20.440 回答