Monday, September 5, 2011

Dumpbin.exe - a tool to provide info about DLLs (x86 or x64)

Dumpbin.exe is one of tools with ability to provide information about the format and symbols in executable, library, and DLL files.

There are some options which you can utilize with Dumpbin.exe utility like /ALL, /DISASEM, /SUMMARY, /SYMBOLS, ...

If you want to see a DLL is compiled in x86 or 64 bit you can use /HEADERS option in command line:

dumpbin /headers MyCompany.MyDepartment.MyNameSapece.MyAssembly.dll

To be able to call DumpBin.exe in command line, you better extend PATH to be able to call it from anywhere: (The path is depend on your system)
  • SET PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;
or
  • SET PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;

Share/Bookmark

No comments: