dumpbin to see if (Exe, Dll) is 32-bit or 64-bit

Projects often encounter inconsistent operating system digits, resulting in various reference issues. Found a small tool dumpbin can view.

Search dumpbin.exe, there will be several places, whether it is x86 or x64. The easiest option is to use directly under the Vs directory,

Take my example: D: \ Program Files \ Microsoft Visual Studio 14.0 \ VC \ bin

How to use:

1. Start cmd

2 、 cd D: \ Program Files \ Microsoft Visual Studio 14.0 \ VC \ bin

3、 dumpbin.exe /headers d:\test.exe

image

The picture above shows 32 bits.

Guess you like

Origin www.cnblogs.com/hubEnergy/p/12682229.html