Libraries and Packages Index
Go Up to Object Pascal Language Guide Index
This section describes how to create static and dynamically loadable libraries in Object Pascal.
Note: Libraries are significantly more limited than packages in what they can export. Libraries cannot export constants, types, and normal variables. That is, class types defined in a library will not be seen in a program using that library.
To export items other than simple procedures and functions, packages are the recommended alternative. Libraries should only be considered when interoperability with other programming is a requirement.