I have one exe, and multi DLLs. Can I build them only with RTL250.BPL, but not all package? I only want units in RTL deployed with bpl, but not change the whole system from DLL to BPL.

Comments

  1. If executable size is something that you feel should be reduced, build a single monolithic executable.

    If you wish to share variable instances in the RTL then a package is one way to do that. But there are subtle consequences. Without sharing your DLLs are isolated from each other with regards the RTL state. With sharing then code in one DLL that modifies that state can impact on the other DLLs. You will need to check that there are no undesired consequences of that.

    ReplyDelete
  2. David Heffernan Thanks. I will share RTL and VCL

    ReplyDelete
  3. You can edit Runtime Packages list in project Options. Disable inheritance and put "rtl;vcl" there. Repeat this for every project, that you need.

    ReplyDelete

Post a Comment