🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15540

Re: Listing the function names exported from a DLL

#15540
From: Ma�l H�rz
Date: Tue, 24 Jun 2003 16:45
24 lines
2157 bytes
"Pang Fu" <pangfu@hotmail.com> schrieb im Newsbeitrag
news:3ef86866@newsgroups.borland.com...
> (1) How to list (programatically) the function names exported from a DLL ?
>     (Similar to using quick-view to see the function list in DLL)
GX_PeInfo.pas that is part of GExperts or JclPeImage.pas that is part of the
Jedi Code Library
have procedures/objects that permit to extract the function-names. Both are
available for free
with full source.


> (2) Is there a way to find out return value type and parameter types of
the
> exported functions in DLL?
Unfortunately this is guess-work. There is no information about that
directly stored in the DLL.
You can try to figure out from the assembler-code but there is no general,
always valid method.

I have written an article about something similar, if you are interested:
http://home.arcor.de/mael/en/awe64all.htm

Greetings, Ma�l
Technical Details
Message-ID: <3ef8805f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!newspeer.radix.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ef86866@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,1890f61c616b91d6
X-Google-Attributes: gid10cc67,public
X-Google-Thread: f94dd,1890f61c616b91d6
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2003-06-24 10:00:25 PST
From: "Ma�l H�rz" <maelh@web.de>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.delphi.nativeapi
References: <3ef86866@newsgroups.borland.com>
Subject: Re: Listing the function names exported from a DLL
Date: Tue, 24 Jun 2003 18:45:55 +0200
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.144.186.67
Message-ID: <3ef8805f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056473183 212.144.186.67 (24 Jun 2003 09:46:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!newspeer.radix.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail