Subject Re: [IBO] BPL vs. DLL
Author Daniel Rail
At 08/04/2001 10:20 AM, you wrote:
>I have a very large program, with a very big exe, i want to divide it
>in small pieces, and my question is , what is the best, using DLL's
>or using packages (BPL), it have a lot of forms.
>
>Delphi 5, Interbase 5.6 - 6, IBObjects 3.6.D.
>
>Is there any example?

Hi,

First of all, what is the size of the exe? The main executable of my
application is 10MB and I have some DLLs ranging from 600KB to 5.5MB.

You can look into using plugins, i.e. Smart Plugin(you can find a reference
on Torry's Page or Delphi Super Page). I personally use DLLs at the
present time.

Keep in mind that the Delphi compiler compiles the code of a VCL once in
the executable and is used for all the instances of the component in the
exe. Also, keep in mind that the size of the executable doesn't
necessarily represent the amount of memory that your application uses on
loading. i.e.: My application's exec is 10MB, but uses 29MB in memory
right after loading.


Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)