rodbracher wrote:
> How can one determine what BPLs are built into a specific EXE?

A BPL is never built *into* an EXE -- that would defeat the entire 
purpose of BPLs.

> I am trying to make a distribution BPL pack and build my EXE with
> runtime packages - but I have hundreds of BPLs that are used for
> different projects or not used but come with the component pack.

After you compile your project, choose the Information item from the 
Project menu. It should tell you which packages your project uses.

The command-line program David mentioned is Tdump. It lists the 
functions a module imports, and the modules the functions come from. It 
only lists direct dependencies, which are the same as what the 
project-information dialog I mentioned above will do. You can use Tdump 
on each of the dependent modules, though, to follow the chain 
recursively, since some of the packages your program uses might rely on 
other packages that Delphi didn't know about when it compiled your program.

If you have the Platform SDK installed, then you can use Microsoft's 
Dependency Walker utility to get the whole dependency chain at once.

None of these techniques will reveal packages or DLLs that your program 
loads dynamically at run time, as with the LoadLibrary or LoadPackage 
functions. You would most likely use those functions if your program 
supports some kind of plug-ins.

-- 
Rob


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to