🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Listing the function names exported from a DLL

#15564
From: Clayton Arends
Date: Wed, 25 Jun 2003 18:37
16 lines
1763 bytes
"Pang Fu" <pangfu@hotmail.com> wrote in message
news:3ef86866@newsgroups.borland.com...

> (2) Is there a way to find out return value type and parameter types of
> the exported functions in DLL?

Only if the functions are name mangled, you know what language and version
of the compiler the DLL was created in, and you know how to decode the
mangled name.  Alos, in the case of C++ the return value is not included in
the name mangling.

In general, the answer to this question is "no" unless you are writing a
very specific tailored application and want to spend some time creating the
decoding algorithm.

- Clayton
Technical Details
Message-ID: <3ef9ebce@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!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-7-bit
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-25 11:52:05 PST
From: "Clayton Arends" <nospam_claytonarends@hotmail.com>
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: Wed, 25 Jun 2003 11:37:26 -0700
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 24.30.135.218
Message-ID: <3ef9ebce@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056566222 24.30.135.218 (25 Jun 2003 11:37:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail