Solved

Exploring functions inside a DLL

Posted on 2001-07-06
14
541 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
[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
  • 3
  • 3
  • 3
  • +5
14 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6258801
name -> possible

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

0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6258830
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
ID: 6258879
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Accepted Solution

by:
Cesario earned 100 total points
ID: 6258917
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
ID: 6259108
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
ID: 6259115
The PeViewer on Code Central is free not shareware.
0
 
LVL 3

Expert Comment

by:MarcG
ID: 6259125
by the way called quikview.exe
0
 
LVL 1

Expert Comment

by:bnemmers
ID: 6260574
you can download PeViewer
http://www.volweb.cz/pvones/delphi

or Code Central ID 15214
0
 
LVL 3

Expert Comment

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

Expert Comment

by:frangers99
ID: 6262402
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
ID: 6289566
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
ID: 6289587
This sounds as if it is a 16-bit DLL.
0
 

Author Comment

by:gklux
ID: 6297422
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
ID: 6297426
this tool may be usefull later.

regards

Mike
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

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