首页 > Windows开发 > 详细

如何判断windows程序是32还是64位

时间:2017-02-13 12:17:32      阅读:294      评论:0      收藏:0      [点我收藏+]

如果安装过Visual Studio的话,直接打开一个VS提供的控制台窗口,比如VS2012 x64 Native Tools Command Prompt.

用下面的命令查看程序的头部信息:“dumpbin /HEADERS dll路径”

gdal_1.8_rtc>dumpbin /HEADERS gdal18.dll 
Microsoft (R) COFF/PE Dumper Version 11.00.60610.1 
Copyright (C) Microsoft Corporation.  All rights reserved. 
 
 
Dump of file gdal18.dll 
 
PE signature found 
 
File Type: DLL 
 
FILE HEADER VALUES 
            8664 machine (x64) 
               6 number of sections 
        52130233 time date stamp Tue Aug 20 13:44:19 2013 
               0 file pointer to symbol table 
               0 number of symbols 
              F0 size of optional header 
            2022 characteristics 
                   Executable 
                   Application can handle large (>2GB) addresses 
                   DLL 

gdal_1.8_rtc>dumpbin /HEADERS gdal18.dll
Microsoft (R) COFF/PE Dumper Version 11.00.60610.1
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file gdal18.dll

PE signature found

File Type: DLL

FILE HEADER VALUES
            8664 machine (x64)
               6 number of sections
        52130233 time date stamp Tue Aug 20 13:44:19 2013
               0 file pointer to symbol table
               0 number of symbols
              F0 size of optional header
            2022 characteristics
                   Executable
                   Application can handle large (>2GB) addresses
                   DLL

如何判断windows程序是32还是64位

原文:http://www.cnblogs.com/conorpai/p/6393120.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!