Solved

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

Posted on 2014-12-09
1
104 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
[X]
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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  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 use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

751 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