[Lazarus] embedding fomrs into forms

Marc Santhoff M.Santhoff at t-online.de
Mon May 19 12:54:45 CEST 2008


Am Montag, den 19.05.2008, 09:09 +0200 schrieb Marco van de Voort:
> On Mon, May 19, 2008 at 12:06:40AM +0200, Marc Santhoff wrote:
> > 
> > > > My goal is to have a core programm and some additional parts delivered
> > > > separately. Compiling the program for every permutation of combinations
> > > > is not quite usable if the count of extras goes up.
> > > 
> > > Packages is the only long term way. Unless your interface between the DLL
> > > and the program can be really limited and rigid. Then you might have luck
> > > the manual way.
> > 
> > I don't understand, do you say, packages are dynamically loadable? I
> > thought of them as statically linkable organizational containers.
> > 
> > If a user has installed the basic program, can I send him a package that
> > can be loaded at statup extending the program?
> 
> Only by loadlibrary calls. (which must then be in the startup), and of
> course the interface must be known. But in general yes.

The interface will be small and I'm free to define it at will. But that
doesn't solve the problems using LCL in libraries, does it?

The wiki article about library packages showed that someone actually
succeded in compiling the RTl to a dynlib, that may be woth a test
(combined with loadlibrary).

> Keep in mind that designtime packages are implemented using library packages
> inside Delphi.  Delphi isn't recompiled for them :_)

Interesting, I stopped using Delphi shortly after version 3 was out. ;)

Marc





More information about the Lazarus mailing list