dumpbin判斷windows程式是32還是64位(包括DLL)

來源:互聯網
上載者:User

標籤:rac   toc   symbol   get   csdn   ack   str   cto   pointer   

http://blog.csdn.net/csfreebird/article/details/10105681

dumpbin /HEADERS gdal18.dll(or xxx.exe)

如果安裝過VS2012的話,直接開啟一個VS 2012提供的控制台視窗,比如VS2012 x64 Native Tools Command Prompt.

用下面的命令查看程式的頭部資訊:

[cpp] view plain copy 
  1. gdal_1.8_rtc>dumpbin /HEADERS gdal18.dll  
  2. Microsoft (R) COFF/PE Dumper Version 11.00.60610.1  
  3. Copyright (C) Microsoft Corporation.  All rights reserved.  
  4.   
  5.   
  6. Dump of file gdal18.dll  
  7.   
  8. PE signature found  
  9.   
  10. File Type: DLL  
  11.   
  12. FILE HEADER VALUES  
  13.             8664 machine (x64)  
  14.                6 number of sections  
  15.         52130233 time date stamp Tue Aug 20 13:44:19 2013  
  16.                0 file pointer to symbol table  
  17.                0 number of symbols  
  18.               F0 size of optional header  
  19.             2022 characteristics  
  20.                    Executable  
  21.                    Application can handle large (>2GB) addresses  
  22.                    DLL  

 

看到x64了嗎? 所以這是64位的dll.

 查看程式/DLL的位元 32位 64 位元 
http://2678482.blog.51cto.com/2668482/1616861

machine (x64)  -- 64 位元
machine (x86)  -- 32 位

http://blog.csdn.net/cocoasprite/article/details/53257049

dumpbin判斷windows程式是32還是64位(包括DLL)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.