Dynamically loading headers
From Free Pascal wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Abstract
Currently, most library headers in fpc/packages support only static linking. Some exceptions are mysql, ibase, sqlite (and some other database headers). The idea is now to add dynamic linking support for other headers. This page should provide some place to list pro/contra, implementation details, etc...
Since dynamic linking is not supported by the compiler directly, it's required to define some framework, so that all headers are "implemented" uniform way and can be used from the users in an easy way.
Pro
- loading libraries at runtime (plugin support)