Solved

Get DLL parameter description

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

706 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

19 Experts available now in Live!

Get 1:1 Help Now