设为首页 加入收藏

TOP

如何判断windows程序是32还是64位
2014-11-23 20:25:27 来源: 作者: 【 】 浏览:17
Tags:如何 判断 windows 程序 64位

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

用下面的命令查看程序的头部信息:


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

看到x64了么? 所以这是64位的dll.

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇POJ3723Conscription (最大生成树.. 下一篇最短路--Dijkstra算法 --HDU1790

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Python 数据分析与可 (2025-12-26 21:51:20)
·从零开始学Python之 (2025-12-26 21:51:17)
·超长干货:Python实 (2025-12-26 21:51:14)
·为什么 Java 社区至 (2025-12-26 21:19:10)
·Java多线程阻塞队列 (2025-12-26 21:19:07)