有一个静态库,有没有一种简单的方法可以知道它是 32 位还是 64 位? [英] Have a static lib, is there a simple way to know it is for 32 bit or 64 bit?
本文介绍了有一个静态库,有没有一种简单的方法可以知道它是 32 位还是 64 位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有什么工具可以直接测试一个库是为32位还是64位做的?
解决方案
您可以使用带有 /headers
选项的 dumpbin
实用程序
它返回库是为 32 位还是 64 位架构构建的.
查看DUMPBIN 参考了解详情.>
示例用法:
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 DUMPBIN Reference for details.
Example usage:
c:>dumpbin libXYZ.lib /headers
这篇关于有一个静态库,有没有一种简单的方法可以知道它是 32 位还是 64 位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文