On Wed, Dec 09, 2009 at 03:59:46PM +0100, Christian Budde wrote: > > Netscape is not created in lazarus, and doesn't communicate over plugin > > interface using pascal types. > > > > Which is exactly the problem packages try to solve. Please do not confuse > > the situation more than necessary. > > > I don't think he is confusing the situation more than necessary, it was > the original topic to use the LCL in DLLs and not to change the package > system in Lazarus.
packages and package system in Lazarus are unrelated, because delphi uses the first mechanism to implement the second it is not the same please read: http://wiki.freepascal.org/packages first. However there might be some confusion here, if you mean having a totally contained Lazarus program in a DLL together with RTL and DLL, then that is somewhat comparable with the netscape example. But that is not what afaik the thread was about, and what I meant, that is to have a libfpc.so (RTL+FCL and other packages without dependancies) and liblcl.so and reuse them for all my lazarus applications. The problem then is that it is not just a few plugin functions to register, but the complex system of objects, methods, variables, memory management etc over DLL borders, IOW the full content of the FPC language and libraries. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
