Solved

Get DLL parameter description

Posted on 2002-04-15
2
345 Views
Last Modified: 2013-12-03
I have a DLL file, for which I don't have source.
How can I find out, what functions does it contain, and what are calling conventions for them - parameter count and their data types.
0
Comment
Question by:Sektor
2 Comments
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6941845
often asked, still not possible.

You *can* find out the names of exported functions, but that's all information "legally" available.

Everything else requires digging through the DLL trying to figure out what it expects from the disassembly. Something that *can* give you the number of params, and some basic information how it's processed, but there is no general solution.

0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 6941892
Have you checked with the people who developed the DLL?  They would (hopefully) know for sure.

In the case of undocumented DLLs and their interfaces, it's a pure reverse engineering problem.

I've found that NuMega's SoftICE is an invaluable tool here.  That, coupled with an examination of how the DLL is used by other programs that use it can often give you enough hints to go on.  There is no "pushbutton" solution here.  DLLs (unlike COM object) do NOT have any information embedded in them about quantity or type of calling parameters, calling conventions, or return values.

In other words, you're on your own....

To get what functions a DLL contains as EXPORTS is easy:

1) Use the Visual Studio DUMPBIN.EXE app like:

DUMPBIN /EXPORTS dllname.dll

2) Use the Visual Studio DEPENDS.EXE visual application.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now