標籤: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
- 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.
查看程式/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)