How to find if native dll is compiled as x64 or x86?
来源:互联网 发布:mac 图片预览 编辑:程序博客网 时间:2024/05/21 17:35
You can use dumpbin too. Use the /headers or /all flag and it's the first file header listed.
dumpbin /headers cv210.dll
64-bit:
Microsoft (R) COFF/PE Dumper Version 10.00.30319.01Copyright (C) Microsoft Corporation. All rights reserved.Dump of file cv210.dllPE signature foundFile Type: DLLFILE HEADER VALUES 8664 machine (x64) 6 number of sections 4BBAB813 time date stamp Tue Apr 06 12:26:59 2010 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
32-bit:
Microsoft (R) COFF/PE Dumper Version 10.00.30319.01Copyright (C) Microsoft Corporation. All rights reserved.Dump of file acrdlg.dllPE signature foundFile Type: DLLFILE HEADER VALUES 14C machine (x86) 5 number of sections 467AFDD2 time date stamp Fri Jun 22 06:38:10 2007 0 file pointer to symbol table 0 number of symbols E0 size of optional header 2306 characteristics Executable Line numbers stripped 32 bit word machine Debug information stripped DLL
'find' can make life slightly easier:
dumpbin /headers cv210.dll |find "machine" 8664 machine (x64)
- How to find if native dll is compiled as x64 or x86?
- How to find if native dll is compiled as x64 or x86?
- How to: Determine if a Package that is About to be Compiled is Being Used Currently (文档 ID 1054939.6
- experiment : judge PE file is x86 or x64
- C Tips: How to tell if system is little endian or big endian?
- C# Tips: How to tell if system is little endian or big endian?
- How to check if a Number is Positive or Negative in Java - Interview Question
- How to justify if a windows program is 32 bit or 64 bit
- Linux / Unix Script: Simple Process Checker To Find Out If A Service Is Running or Not
- check if unmanaged dll is 32-bit or 64-bit?
- How to save a web page as HTML or MHT
- How to mark volume groups as active or inactive
- How to find the crash point: Android Native crash
- C++ How to tell if a .lib file was compiled with compiler option /MT, /MD, /MTd, /MDd, /clr etc?
- How to Load a Java Native/Dynamic Library (DLL)
- How to Load a Java Native/Dynamic Library (DLL)
- How to judge if an iterator is used before.
- How to determine if a machine is localhost?
- 剑法三套 程序员也能赚大钱
- Ubuntu 通过无线进行ADSL拨号
- 八大排序算法总结
- Hadoop全局排序
- 海明码_小白鼠试药问题
- How to find if native dll is compiled as x64 or x86?
- 一个老程序员的心理话:一个普通IT人的十年回顾
- 用NSData writeToFile的一点疑问
- 修改Extjs的findByType方法,弥补其不足
- 关于瑞星杀毒软件对浏览器速度的影响
- 35 岁程序员要规划好的四件事
- JAVA 虚拟机 [ 类型生命周期 ]
- 孙子兵法
- TSL/SSL基本工作原理