Libraries and Packages Index

From RAD Studio
Jump to: navigation, search

Go Up to Delphi Language Guide Index

This section describes how to create static and dynamically loadable libraries in Delphi.

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.