Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get list of required BPLs for a given DLL, EXE or BPL

I'm wondering if anyone knows of an elegant way of determining what BPLs are required by a given (compiled) DLL, EXE or BPL.

I'm not sure if this is even possible shy of simply scanning the binary for text references to .bpl filenames (which would be prone to possible false-positives).

Ideally I'd like to return a TStringList or even a comma-separated String containing the names of all required .bpl files.

like image 208
LaKraven Avatar asked Jun 04 '12 20:06

LaKraven


1 Answers

For packages you can use the requires section of the PACKAGEINFO resource - see TJclPePackageInfo.

like image 68
Uwe Schuster Avatar answered Oct 14 '22 10:10

Uwe Schuster