[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 553
  • Last Modified:

Exploring functions inside a DLL

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
gklux
Asked:
gklux
  • 3
  • 3
  • 3
  • +5
1 Solution
 
kretzschmarCommented:
name -> possible

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

0
 
EpsylonCommented:
If the dll is a COM object then register it (if not already done) and import the type library into Delphi...
0
 
robert_marquardtCommented:
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
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
CesarioCommented:
Hello gklux,

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

0
 
MarcGCommented:
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
 
robert_marquardtCommented:
The PeViewer on Code Central is free not shareware.
0
 
MarcGCommented:
by the way called quikview.exe
0
 
bnemmersCommented:
you can download PeViewer
http://www.volweb.cz/pvones/delphi

or Code Central ID 15214
0
 
MarcGCommented:
by the way, GExperts contains PeViewer too, together with many other helpful tools for Delphi
http://www.gexperts.org/
0
 
frangers99Commented:
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
 
gkluxAuthor Commented:
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
 
robert_marquardtCommented:
This sounds as if it is a 16-bit DLL.
0
 
gkluxAuthor Commented:
Yep! It seems to be a 16 bits application. So I will search a latest version of the program.

Thanks

Mike
0
 
gkluxAuthor Commented:
this tool may be usefull later.

regards

Mike
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 3
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now