Solved

Get DLL parameter description

Posted on 2002-04-15
2
351 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
[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
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 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