Check if file is 32bit or 64bit on Windows

This is useful for determining if an executable or shared library (DLL) is 32 or 64 bit…

dumpbin /HEADERS C:\Qt\Qt-5.15.1\bin\Qt5Core.dll |findstr machine

Output will be something like “8664 machine (x64)” (for 64 bit).

Leave a Comment