How to use Corflags tool of Visual Studio to check 32/64 bit of dll ?


Hi

Corflags is the inbuilt tool of Visual Studio which is used to find out the type of .dll i.e 32 bit, 64 bit or any CPU. This tool is available in Visual studio 2005 onward. i.e. VS 2005/2008/2010/2013

These are the following steps to check in Visual Studio

Step1 : Go to visual Studio command prompt like this

Step1

Step 2: Make Sure that Corflags is working in your system

Type the Corflags in Command Prompt like this

Step2

Note: if this syntax is not working then there is some problem in Environment Variable of the System
You can fix this issue like this post
http://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/

Step 3: Go to the file Location of DLL and type the syntax like this in below image
Corflags AjaxToolKit.dll

Corflag11

This is the short summary to determine the type of dll

Any CPU: PE = PE32 and 32BIT = 0
x86 bit: PE = PE32 and 32BIT = 1
64-bit: PE = PE32+ and 32BIT = 0

I hope this will help to some body.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: