Dynamically loading headers

From Free Pascal wiki
Revision as of 00:56, 1 November 2009 by Aison (talk | contribs) (Abstract)

x

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" in an uniform way and can be used easily.

Pro

  • loading libraries at runtime (plugin support)

Contra

Implementation (suggestions)

Framework

Example