I am creating a program that uses Delphi Packages (BPL) as plugins, but I would like to use a custom extension to show that files have a specific purpose, and not just BPL. This works well enough until I get one package that is dependent on another. The compiler then automatically creates the binary with the built-in embedded BPL.
It would not be too difficult to fix with a hex editor, but this kind of extreme solution. Is there any way to get the compiler to generate packages with the necessary dependency names?
EDIT: the answers so far do not seem to understand the question.
I know exactly how to create packages with my custom TEP extension instead of the BPL extension. But if I have package1.TEP and package2.TEP, and package2 depends on package1, and then I try to download package2, it gives an error because it cannot find "package1.BPL". I want to find an easier way to get package2 to look for the correct file name "package1.TEP", which does not require editing the binary after it is created. Is there any way to do this?
source
share