Windows 64位程序编译及检测
2020-12-13 06:08
标签:style blog http os io strong 2014 ar
2、64位程序检测
运行结果输出到了f:\1.txt,检查结果可发现编译程序确实为64位程序。 64位程序64位系统上运行正常,在32位系统上运行64位程序报错如下。 Windows 64位程序编译及检测,搜素材,soscw.com Windows 64位程序编译及检测 标签:style blog http os io strong 2014 ar 原文地址:http://blog.csdn.net/segen_jaa/article/details/38417853
采用vs2010可以比较方便的编译出64位的程序。
调整编译配置为x64即可。


检测一个程序是否为64位,可以采用dumpbin工具,这是vs自带的小工具。
步骤如下。
对应命令依次是:
进入vc目录:cd D:\Program Files\Microsoft Visual Studio 10.0\VC
配置vc命令环境:vcvarsall.bat
检测exe是否为64位:dumpbin /headers f:\Win64Test.exe>f:\1.txt

文章标题:Windows 64位程序编译及检测
文章链接:http://soscw.com/index.php/essay/32537.html