Solved

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

Posted on 2014-12-09
1
105 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

617 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