Have you looked at the TDUMP utility shipped with Delphi 7? Bpl is just a fancy DLL, so you can list the exported functions:
eg.
"C: \ Program Files \ Borland \ Delphi7 \ Bin \ TDUMP.EXE" AFWRTL_RD7.bpl
Turbo Dump Version 5.0.16.12 Copyright (c) 1988, 2000 Inprise Corporation
Display of File AFWRTL_RD7.BPL
.,.
Export from AFWRTL_RD7.bpl
91 exported name (s), 91 export address (s). The source base is 1.
...
000046B4 31 000A __fastcall Fgint::Base2StringToFGInt(System::AnsiString, Fgint::TFGInt&)
...
If you look at the exported functions, the function name appears to have a device name prefix or a dependent package, for example. Fgint :: Base2StringToFGInt is the Base2StringToFGInt function in the Fgint.pas module.
Alternatively, consider the depend.exe utility that comes with the Windows Resource Kit. This provides a graphical interface for viewing the contents of a DLL (or BPL).
Cm
http://www.microsoft.com/downloads/details.aspx?FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en
for more details.
Vince
Vincent van der vlis
source share