My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com









Monday, March 11, 2013

Dumpbin to Check Application/DLL Compiled Platform (x86 vs x64)


I will take this oppurtunity to extend my earlier post on finding .SO and .A compiled versions over Linux platforms. You can achive same target in Windows using the Dumpbin utilty. Dumpbin is a program in Visual Studio Tools that helps you display information about a binary file.

Though the utility is much useful, but here I anm only describing about how to use it to check whether a dll is build for x86 or x64 platform. I will dedicate some other post for more usages of Dumpbin.
PS: If you do not have Visual Studio, you have to get Dumpbin by some other means. But if you have MS Studia then it is prebundled with it.

Start Visual Studia Command prompt. One way to do so is:
1. Go to start menu, find your VS2010 application folder
2. In Visual Studio Tools, click on Visual Studio Command Prompt (2010)
3. A command prompt environment will be load.
4. Navigate to your assembly location. Type, dumpbin /headers your_assembly.dll. It will display the following for x86 dll and x64 dll respectively. See the highlighted areas

You can also type dumbin on command prompt to see various Command line arguments. Its easy, but important is that you must remember that this tool can help you do so.
:)

No comments:

Post a Comment