Packages

This is an old revision of Packages, edited by Marcov at . The current revision is 38366.

FPC/Lazarus unfortunately are a bit ambiguous with respect to the term packages. Some meanings:

  1. A set of units in FPC that are treated together. Both using the older fpcmake as the newer fppkg packagemanager.
  2. A set of units in Lazarus (with designtime parts that require registration into the DLL). See Lazarus Packages
  3. Delphi packages, which are DLLs with something extra (or shared libs in the Unix case)

This article is meant as a brainstorm session about the latter, one of the missing pieces of the Delphi compability. Most created from browsing an hour on the web, looking at articles about fixes and modding the packages system

Note that in time Lazarus packages might be implemented as Delphi packages.

Delphi packages

Maybe Delphi packages is a bad name btw. "Library package" would be better? I'll at least use it for this article till something better comes up.

A Library-package is essentially a DLL with some extra's.

References

Lazarus and Delphi packages

Well, first there needs to be a base package system, but then Delphi packages could be loaded too.