Check a dll is x64 or x86

Just read two good articles on this topic:this

http://stackoverflow.com/questions/480696/how-to-find-if-a-native-dll-file-is-compiled-as-x64-or-x86/ci

http://stackoverflow.com/questions/1001404/check-if-unmanaged-dll-is-32-bit-or-64-bitget

 

To recap:it

For native dlls, we can use:io

dumpbin /headers cv210.dllfile

For .NET dlls, we can use:call

corflags "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll"stackoverflow

 

You're looking at PE and 32BIT specifically.top

    • Any CPU:co

      PE: PE32
      32BIT: 0

    • x86:

      PE: PE32
      32BIT: 1

    • x64:

      PE: PE32+32BIT: 0

相關文章
相關標籤/搜索