怎样判断DLL是32位还是64位的

首先确保已经安装visual studio,然后在安装路径下搜索dumpbin.exe
进入dumpbin.exe所在的文件夹,打开终端。(直接在路径框下输入cmd,回车)
然后输入下面指令即可查询:

dumpbin.exe /headers [dll文件路径] | find "machine"

示例:

D:\VS2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x86>dumpbin.exe /headers E:\zhankun\program_github\Ag_PlanAlgo\HnAlgorithm\include\HnAlgorithm3.dll |find "machine"

D:\VS2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x86>dumpbin.exe /headers E:\zhankun\program_github\Ag_PlanAlgo\other_demo\GPV_pathplantool\HnAlgorithm3.dll |find "machine"

D:\VS2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x86>dumpbin.exe /headers E:\zhankun\program_github\Ag_PlanAlgo\other_demo\GPV_pathplantool\HnAlgorithm2.dll |find "machine"
            8664 machine (x64)

D:\VS2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x86>dumpbin.exe /headers E:\zhankun\program_github\Ag_PlanAlgo\other_demo\GPV_pathplantool\HnAlgorithm.dll |find "machine"
             14C machine (x86)
                   32 bit word machine
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值