Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determining Delphi Runtime Packages to Include

Tags:

delphi

I have a Delphi DLL that houses a form which uses a variety of third party components. This DLL is used by many different versions of Delphi. I compile the third party components into the DLL. I believe I still need to link to some "base" Delphi packages like rtl, vcl, etc, so my DLL will use the same memory manager and other global resources that the Delphi IDE is using. How do I find out what BPLs I need to link to?

Ideally I'd like to point some utility at my DLL or project and have it list every BPL that it would depend on if I was only using BPL's and had no source files available. Then I could view that list and pick the packages I want to load at runtime. The current list given in the project properties under "Runtime Packages" is incomplete (as it has been tweaked over the years).

like image 590
Jeremy Mullin Avatar asked Dec 04 '22 14:12

Jeremy Mullin


1 Answers

Check a tool I wrote called "Required" - you can download from http://www.drbob42.com/tools

like image 197
Bob Swart Avatar answered Dec 24 '22 10:12

Bob Swart