[Lazarus] Updating an app "on the fly"

Marco van de Voort marcov at stack.nl
Sun Jun 20 17:59:56 CEST 2010


On Sun, Jun 20, 2010 at 09:36:25AM +0000, Mark Morgan Lloyd wrote:
> > FPC loads foreign libraries externally all the time. But you also don't
> > communicate on Pascal level between with them, and keep the RTL/libc states
> > totally apart.
> > 
> > I refer to this as the "manual" solution. (which is btw not as easy as many
> > people think, specially for large complicated frameworks like LCL)
> 
> But isn't that static linkage, i.e. at the point the program is loaded, 
> rather than dynamic?

Doesn't really matter. The point is that it has its own library
dependancies, and the interface is not fully pascal enabled. Then it doesn't
matter if it is statically linked (.a), dynamically linked at startup time,
or dynamically loaded over loadlib. 

IOW the division between mainprogram and lib is handcrafted, and the
problems are the same (shared state+memmgr,VMT, no way to check mismatch in
interface)





More information about the Lazarus mailing list