How to See the Contents of Windows library (*.lib)

I have a binary file - Windows library (*.lib). Is there a simple way to find out names of the functions and their interface from that library?

Something similar to emfar and elfdump utilities?

Answers


Assuming you're talking about a static library, DUMPBIN /SYMBOLS shows the functions and data objects in the library. If you're talking about a import library (a .lib used to refer to symbols exported from a DLL), then you want DUMPBIN /EXPORTS.

Note that for functions linked with the "C" binary interface, this still won't get you return values, parameters, or calling convention. That information isn't encoded in the LIB at all; you have to know that ahead of time (via prototypes in header files, for example) in order to call them correctly.

For functions linked with the C++ binary interface, the calling convention and arguments are encoded in the exported name of the function (also called "name mangling"). DUMPBIN /SYMBOLS will show you both the "mangled" function name as well as the decoded set of parameters.


Need Your Help

JQuery grid view in Php

jquery

I'm making application. I am using JQuery, that retrieves data from MySQL database using php, and all data will be displayed in the grid. So, for this application I need a grid view plugin that wil...

Navigate to requested page after login

jsf url java-ee servlets primefaces

I know this issues has been discussed so many times, however, I did not manage to get it straight. I would really appreciate if you would take a look at this.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.