windows - 检查文件是 32 位还是 64 位 - 在 Windows 上

标签 windows x86 64-bit 32-bit

我正在我的 64 位机器上编译一个程序,但我不确定它产生的是 32 位还是 64 位输出。我如何检查一个文件在 Windows 上是 32 位还是 64 位?

最佳答案

您可以使用 GNUfile适用于 Windows。
您可以通过 PEID 运行该应用程序 最后(也是首选 - 更少的错误空间) 使用 Visual Studio C++(至少是最低速成版)或 Platform SDK安装后,您可以使用 dumpbin/headers 来查看 PE header 值。

文件头中的第一个值告诉您架构:x86 的 0x14C 或 x64 的 0x8664

关于windows - 检查文件是 32 位还是 64 位 - 在 Windows 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2689168/

相关文章:

windows - POWERSHELL - WINDOWS 注册表 - 如何拥有 "*"的路径,如 'hkcr:\*\shell'

c - 使用 SSE 实现高斯消元

c - libopcodes : get the size of a instruction

assembly - 如何在64位Linux系统上执行32位shellcode?

windows-7 - 检查 InnoSetup 配置文件的 [Run] 段中的 Windows 版本

batch-file - 查找是否从注册表或文件系统安装了 Visual Studio 2010 SP1 (VC10) x64

python - tkinter - wm 协议(protocol)不处理 WM_HELP 消息

c++ - QtQuickControls,不适用于 Windows

windows - lein repl 使我的 Clojure 源文件在 Windows 上的 Vim 中只读

go - Go,x64汇编和CMOVLMI : Where is this opcode described?