Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How can I tell if a Windows library has been built for 32 or 64 bit?

Posted on 2014-12-09
1
102 Views
Last Modified: 2014-12-10
Hi:

I've got some 3rd party libraries I'm trying to figure out.

Is there a way that I can tell if these libraries are 32 or 64 bit?

Thanks,
JohnB
0
Comment
Question by:jxbma
1 Comment
 
LVL 2

Accepted Solution

by:
Krishna V earned 500 total points
ID: 40490600
Hi,
 Not sure if you want to check PROGRAMMATICALLY or MANUALLY.

If you want to do that MANUALLY, you can use DUMPBIN tool which is available with Visual C++ SDK http://support.microsoft.com/kb/177429

DUMPBIN with /HEADERS which give arch information of a binary as machine

dumpbin /headers <binaryfilepath>

Hope this helps.


Thanks,
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to programmatically differentiate between C and Java 10 204
FMX enumerated colours 2 115
Which Linux flavors will this run on? 6 95
gdb doesn't stop on breakpoint 2 92
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question