🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DLL Question

#6631
From: Ed Mulroy [TeamB]
Date: Wed, 20 Apr 2005 22:17
37 lines
2104 bytes
> - How do I get a list of functions that reside in a DLL

From the DLL vendor's documentation or with this command

  tdump -ee DllName.DLL

> - How do I get the function parameters and return values


From the DLL vendor's documentation

> - How do I execute a DLL dynamically if I don't have the lib file (
> __declspec(dllimport) ) Code sample would be appreciated

  implib  -c  DllName.LIB  DllName.DLL

Then add DllName.LIB to the project.

DLLs are among the things covered on these pages.  While the examples 
include the command lines for creating them, the IDE could have also 
been used (except for the implib call).

  http://www.mulroy.org/howto.htm

.  Ed

> Stephane Baillargeon wrote in message
> news:4266cd84$1@newsgroups.borland.com...
>
>I have a question about accessing DLLs and executing
> their methods.
>
> What I want to know is:
> - How do I get a list of functions that reside in a DLL
> - How do I get the function parameters and return values
> - How do I execute a DLL dynamically if I don't have the lib file (
> __declspec(dllimport) ) Code sample would be appreciated
Technical Details
Message-ID: <4266d518@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4266cd84$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc17d9227e3b1a4e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy [TeamB]" <dont_email_me@invalid.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4266cd84$1@newsgroups.borland.com>
Subject: Re: DLL Question
Date: Wed, 20 Apr 2005 18:17:44 -0400
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 12.161.27.73
Message-ID: <4266d518@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114035480 12.161.27.73 (20 Apr 2005 15:18:00 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail