🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DLL Howto...

#11014
From: Babak
Date: Fri, 05 Mar 2004 08:44
24 lines
1537 bytes
World Of DLL :-))
Hi again and thanks for all last replies

Image that some make a DLL with Function below:

extern "C" __declspec(dllexport)void SayHello(int n){
   for(;n>0;n--)ShowMessage("Hi");
}

Now , image that we have no idea about function name , acceptable parameter
type , number of parameters and return value.
OK?
then what should I do?
One of friends said about tdump -em -m dllname.dll
but also I try tdump -ee -m dllname.dll that could tell me there is a
_SayHello
but still I'm wonder in Type , return value and the declaretion :-O :-\ :-?

Any Idea?

�P.S. I want to read dll
the last way was so interesting and useful when I myself make the dll
and I need to import *.lib file to use and link.
but now , I've a dll from someone else.
Technical Details
Message-ID: <40470262@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,95faf01013e76bb4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-04 02:28:02 PST
From: "Babak" <babak_info@hot.pop>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: DLL Howto...
Date: Fri, 5 Mar 2004 12:14:27 +0330
Lines: 27
X-Newsreader: Microsoft Outlook Express 4.72.3110.37
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.37
NNTP-Posting-Host: 217.219.63.207
Message-ID: <40470262@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078395490 217.219.63.207 (4 Mar 2004 02:18:10 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail