<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 是静态的还是导入的

        时间:2023-08-29

        • <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 是静态的还是导入的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在 Visual C++ 中构建导入库 (.lib) 和 DLL? 下一篇:在 DLL 中声明的全局变量会发生什么?

                  相关文章

                1. <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>
                  1. <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>

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