🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to determine what DLL/Packages at runtime.

#17582
From: Ed Mulroy [TeamB]
Date: Sat, 22 Mar 2003 17:08
27 lines
1905 bytes
Except for explicitly linked items using
LoadLibrary/GetProcAddress/FreeLibrary, the DLL's and packages used are
determined at link time, and not at runtime.

Do this:

  tdump -em. exename.exe
  (don't overlook the period in -em. )

to see a list of the DLL's used.  A package is a DLL.

Repeat that on all the DLL's listed to determine which ones they use.

The list is now fixed.  It does not change at runtime.  You can then add the
list as data to the source code for use in querying their version at runtime
and reporting what has been found.

.  Ed

> Jeff Douglass wrote in message
> news:3e7c96f5@newsgroups.borland.com...
>
> In BCB 5: Is it possible at an application runtime to
> determing what DLLs and Packages it is using and
> what the file name are so the application can get the
> version infor for all of them to put into the about dialog
> box like Outlook Express does?
Technical Details
Message-ID: <3e7c98b6@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!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e7c96f5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a02ca58e49f2446c,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-23 22:44:31 PST
From: "Ed Mulroy [TeamB]" <ed@mulroy.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e7c96f5@newsgroups.borland.com>
Subject: Re: How to determine what DLL/Packages at runtime.
Date: Sat, 22 Mar 2003 12:08:53 -0500
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <3e7c98b6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048352950 24.74.175.102 (22 Mar 2003 09:09:10 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail