【问题标题】:What is the difference between xerces-c_3_1.dll and xerces-c_3_1D.dll in Apache Xerces pre-built binaries?Apache Xerces 预构建二进制文件中的 xerces-c_3_1.dll 和 xerces-c_3_1D.dll 有什么区别?
【发布时间】:2012-07-04 20:56:24
【问题描述】:

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

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

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

【问题讨论】:

    标签: c++ xerces xerces-c


    【解决方案1】:

    带有 D 后缀的构建是调试构建。来自build instructions

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

    【讨论】:

      【解决方案2】:

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

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-03-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-11-23
        • 2011-12-09
        相关资源
        最近更新 更多