<tfoot id='rZiLo'></tfoot>

      <small id='rZiLo'></small><noframes id='rZiLo'>

      <i id='rZiLo'><tr id='rZiLo'><dt id='rZiLo'><q id='rZiLo'><span id='rZiLo'><b id='rZiLo'><form id='rZiLo'><ins id='rZiLo'></ins><ul id='rZiLo'></ul><sub id='rZiLo'></sub></form><legend id='rZiLo'></legend><bdo id='rZiLo'><pre id='rZiLo'><center id='rZiLo'></center></pre></bdo></b><th id='rZiLo'></th></span></q></dt></tr></i><div id='rZiLo'><tfoot id='rZiLo'></tfoot><dl id='rZiLo'><fieldset id='rZiLo'></fieldset></dl></div>

        <legend id='rZiLo'><style id='rZiLo'><dir id='rZiLo'><q id='rZiLo'></q></dir></style></legend>
          <bdo id='rZiLo'></bdo><ul id='rZiLo'></ul>
      1. 知道 .lib 是静态的还是导入的

        know if .lib is static or import(知道 .lib 是静态的还是导入的)

        • <small id='1sWCb'></small><noframes id='1sWCb'>

            <bdo id='1sWCb'></bdo><ul id='1sWCb'></ul>
            <legend id='1sWCb'><style id='1sWCb'><dir id='1sWCb'><q id='1sWCb'></q></dir></style></legend>
            <i id='1sWCb'><tr id='1sWCb'><dt id='1sWCb'><q id='1sWCb'><span id='1sWCb'><b id='1sWCb'><form id='1sWCb'><ins id='1sWCb'></ins><ul id='1sWCb'></ul><sub id='1sWCb'></sub></form><legend id='1sWCb'></legend><bdo id='1sWCb'><pre id='1sWCb'><center id='1sWCb'></center></pre></bdo></b><th id='1sWCb'></th></span></q></dt></tr></i><div id='1sWCb'><tfoot id='1sWCb'></tfoot><dl id='1sWCb'><fieldset id='1sWCb'></fieldset></dl></div>
                  <tbody id='1sWCb'></tbody>

                  <tfoot id='1sWCb'></tfoot>
                  本文介绍了知道 .lib 是静态的还是导入的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有从 C 代码编译的 .lib 文件.我如何知道在运行时是否需要这个独立的静态库或仅需要导入库和 DLL?有没有我遗漏的 dumpbin 选项?

                  I have .lib file compiled from C code. How I know if this self-contained static library or just an import lib and DLL will be needed at runtime? Is there some dumpbin option I'm missing?

                  推荐答案

                  使用 lib 命令.如果它是静态的,lib 会向你展示里面的一堆 .obj 文件.如果它是隐含的,则不是这样.

                  Use the lib command. If it's static, lib will show you a pile of .obj files inside. Not so if it's am implib.

                  lib /list foo.lib
                  

                  会做的.

                  另见:

                  https://docs.microsoft.com/en-us/cpp/build/reference/managing-a-library

                  这篇关于知道 .lib 是静态的还是导入的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What is inside .lib file of Static library, Statically linked dynamic library and dynamically linked dynamic library?(静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么?)
                  How do I load a C DLL from the SXS in Python?(如何从 Python 中的 SXS 加载 C DLL?)
                  Can Cython code be compiled to a dll so C++ application can call it?(Cython 代码可以编译成 dll 以便 C++ 应用程序可以调用它吗?)
                  Delay Loading DLLs(延迟加载 DLL)
                  Throwing C++ exceptions across DLL boundaries(跨 DLL 边界抛出 C++ 异常)
                  Loading a dll from a dll?(从 dll 加载 dll?)
                  • <legend id='AhM7K'><style id='AhM7K'><dir id='AhM7K'><q id='AhM7K'></q></dir></style></legend>
                      <tfoot id='AhM7K'></tfoot>
                        <bdo id='AhM7K'></bdo><ul id='AhM7K'></ul>
                      • <i id='AhM7K'><tr id='AhM7K'><dt id='AhM7K'><q id='AhM7K'><span id='AhM7K'><b id='AhM7K'><form id='AhM7K'><ins id='AhM7K'></ins><ul id='AhM7K'></ul><sub id='AhM7K'></sub></form><legend id='AhM7K'></legend><bdo id='AhM7K'><pre id='AhM7K'><center id='AhM7K'></center></pre></bdo></b><th id='AhM7K'></th></span></q></dt></tr></i><div id='AhM7K'><tfoot id='AhM7K'></tfoot><dl id='AhM7K'><fieldset id='AhM7K'></fieldset></dl></div>

                              <tbody id='AhM7K'></tbody>

                            <small id='AhM7K'></small><noframes id='AhM7K'>