有一个静态的lib,有没有简单的方法知道它是为32位还是64位? [英] Have a static lib, is there a simple way to know it is for 32 bit or 64 bit?
本文介绍了有一个静态的lib,有没有简单的方法知道它是为32位还是64位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有工具可以直接测试库是否为32位或64位?
解决方案
dumpbin
实用程序与 / headers
选项
请检查此处
c:\\ \\> dumpbin libXYZ.lib / headers
Is there any tool that can directly test if a library is made for 32 or 64 bit?
解决方案
You can use dumpbin
utility with /headers
option
It returns whether the library was built for 32 or 64 bit architecture.
Check here for details.
Example usage:
c:\>dumpbin libXYZ.lib /headers
这篇关于有一个静态的lib,有没有简单的方法知道它是为32位还是64位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文