Monday, September 2, 2013

To Know the Library architecture

To Know the Library architecture for which the library has been compiled for

Execute the following command from the Windows command prompt

It will be 14c for x86 and 8664 for x64

Following is sample output of the command

c:\> dumpbin ex.lib /headers

Microsoft (R) COFF/PE Dumper Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file ex.lib
File Type: LIBRARY
FILE HEADER VALUES
             14C machine (x86)
 

No comments:

Post a Comment