🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DLL Howto...

#10994
From: Ed Mulroy [TeamB]
Date: Wed, 03 Mar 2004 14:31
31 lines
2077 bytes
There is no simple function call to do that.  Open the DLL as a file.
Locate the tables of exported items and examine their entries.

The format of a Win32 exe file is called a "Portable Executable" format or
PE format.  To find the tables and their contents you need to know how the
PE format is arranged.  Read the articles at the following links:

Tour of the Win32 Portable Executable Format
http://www.shorl.com/hibumafiludy

An In-Depth Look into the Win32 Portable Executable File Format
Part 1:
http://www.shorl.com/dysybystujopry
Part 2:
http://www.shorl.com/fisugyjobrihi

Long versions of the above links:
http://msdn.microsoft.com/library/en-us/dndebug/html/msdn_peeringpe.asp
http://msdn.microsoft.com/msdnmag/issues/02/02/PE/default.aspx
http://msdn.microsoft.com/msdnmag/issues/02/03/PE2/default.aspx

.  Ed

> Babakwrote in message
> news:40458771@newsgroups.borland.com...
>
> Thanks for your reply
> I mean I need some guides and ideas to write the
> command line you said by C++
> a code that can do this :
>     tdump -em -m dllname.dll
Technical Details
Message-ID: <4045ec56$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4044f698@newsgroups.borland.com> <4045048d@newsgroups.borland.com> <40458771@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,95faf01013e76bb4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-03 06:42:28 PST
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4044f698@newsgroups.borland.com> <4045048d@newsgroups.borland.com> <40458771@newsgroups.borland.com>
Subject: Re: DLL Howto...
Date: Wed, 3 Mar 2004 09:31:28 -0500
Lines: 33
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.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <4045ec56$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078324310 24.74.175.102 (3 Mar 2004 06:31:50 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail