怎样判断DLL是32位还是64位的
首先确保已经安装visual studio,然后在安装路径下搜索dumpbin.exe 进入dumpbin.exe所在的文件夹,打开终端。(直接在路径框下输入cmd,回车) 然后输入下面指令即可查询:
dumpbin.exe /headers [dll文件路径] | find "machine"
示例:
D:VS2019VCToolsMSVC14.29.30133inHostx64x86>dumpbin.exe /headers E:zhankunprogram_githubAg_PlanAlgoHnAlgorithmincludeHnAlgorithm3.dll |find "machine"
D:VS2019VCToolsMSVC14.29.30133inHostx64x86>dumpbin.exe /headers E:zhankunprogram_githubAg_PlanAlgoother_demoGPV_pathplantoolHnAlgorithm3.dll |find "machine"
D:VS2019VCToolsMSVC14.29.30133inHostx64x86>dumpbin.exe /headers E:zhankunprogram_githubAg_PlanAlgoother_demoGPV_pathplantoolHnAlgorithm2.dll |find "machine"
8664 machine (x64)
D:VS2019VCToolsMSVC14.29.30133inHostx64x86>dumpbin.exe /headers E:zhankunprogram_githubAg_PlanAlgoother_demoGPV_pathplantoolHnAlgorithm.dll |find "machine"
14C machine (x86)
32 bit word machine
