window下查看dll, lib文件是32位还是64位

本文介绍了在Windows环境下,通过dumpbin工具来查看dll和lib文件是32位还是64位的方法。通过运行dumpbin /headers 命令,解析输出中的'FILE HEADER VALUES'部分的'machine'字段,可以判断文件类型,x86对应32位,x64对应64位。
摘要由CSDN通过智能技术生成

工具:dumpbin.exe 

依赖:link.exe, mspdb100.dll


命令:

dumpbin  /headers  E:\math.dll


结果:

Dump of file E:\math.dll


PE signature found


File Type: DLL


FILE HEADER VALUES
             14C machine (x86) --------------------------------------------------------->>>>   x86为32位,x64为64位
               5 number of sections
        3CD30F99 time date stamp Sat May 04 06:30:49 2002
               0 file pointer to symbol table
               0 number of symbols
              E0 size of optional header
            210E characteristics
                   Executable
                   Line numbers stripped
                   Symbols stripped
                   32 bit word machine
                   DLL

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值