Solved

Exploring functions inside a DLL

Posted on 2001-07-06
14
535 Views
Last Modified: 2010-04-06
hi all,
I wouls like to use a DLL suplied with a program i bought (statistics calculations). How can i get the information about functions/procedures (name, parameters type and order...) declared and exported from this DLL ?

thanks for all ideas

Mike
0
Comment
Question by:gklux
  • 3
  • 3
  • 3
  • +5
14 Comments
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
name -> possible

parameters type and order -> not possible, you need a manual

0
 
LVL 13

Expert Comment

by:Epsylon
Comment Utility
If the dll is a COM object then register it (if not already done) and import the type library into Delphi...
0
 
LVL 11

Expert Comment

by:robert_marquardt
Comment Utility
To explore anything a DLL (or EXE) offers get PeViewer from Petr Vones. Its on Borland Code Central.
Sorry, i tried to find the ID, but cannot reach Code Central.
0
 
LVL 8

Accepted Solution

by:
Cesario earned 100 total points
Comment Utility
Hello gklux,

you can download peViewer form this site
http://download.cnet.com/downloads/0-10091-100-1567622.html

0
 
LVL 3

Expert Comment

by:MarcG
Comment Utility
Using Win9x or NT you can just use QuickView(comes with windows) on the dll to view  the functions it exports( under export table)
0
 
LVL 11

Expert Comment

by:robert_marquardt
Comment Utility
The PeViewer on Code Central is free not shareware.
0
 
LVL 3

Expert Comment

by:MarcG
Comment Utility
by the way called quikview.exe
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Expert Comment

by:bnemmers
Comment Utility
you can download PeViewer
http://www.volweb.cz/pvones/delphi

or Code Central ID 15214
0
 
LVL 3

Expert Comment

by:MarcG
Comment Utility
by the way, GExperts contains PeViewer too, together with many other helpful tools for Delphi
http://www.gexperts.org/
0
 

Expert Comment

by:frangers99
Comment Utility
well i use Delphi 4 Standard, and i'm not sure if it has changed since, but in the bin folder of Delphi there is a program called tdump that lists the various exports of a dll. Just open your delphi\bin folder and run....

tdump -ee c:\..\dllname.dll and it will list the exports.

You might want to port the results to a file... so use the dos command...

tdump -ee c:\..\dllname.dll > c:\..\output.txt

There might be some windows programs out there that do the trick, but if you already have tdump, you might as well use it. It is easy enough.

Hope that helps.
Andrew
0
 

Author Comment

by:gklux
Comment Utility
Thanks for intesresting in my question.
I download PEViewer but when i open the dll file i get this error message : "this is not a PE format".  Does somebody knows what it means ?

I tried so with tdump, but it looks like as if there were nothing to show. No error message...


Best regards

Mike
0
 
LVL 11

Expert Comment

by:robert_marquardt
Comment Utility
This sounds as if it is a 16-bit DLL.
0
 

Author Comment

by:gklux
Comment Utility
Yep! It seems to be a 16 bits application. So I will search a latest version of the program.

Thanks

Mike
0
 

Author Comment

by:gklux
Comment Utility
this tool may be usefull later.

regards

Mike
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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