Download Now
Forums
    Announcements

    Dynamic Packages

    Started by sysrpl on 15 October 2026

    sysrpl15 October 2026, 10:33

    I have released new builds and the source code for versions of the Free Pascal Compiler and Lazarus that support dynamic packages. Dynamic packages allow your code to be placed in shared libraries and allow Pascal functions, types, variables, threadvars, constants, and resourcestrings to be loaded and unloaded within a running application.

    A new unit will be included with the compiler, allowing you to load, unload, inspect, and use classes and other symbols within a dynamic package. The IDE has been modified in my forthcoming build to use dynamic packages for the RTL, FCL, LCL, and all other packages. When using packages that contain components, controls, or IDE enhancements, users will no longer need to rebuild the Lazarus IDE. In most cases, developing, installing, and uninstalling packages will be much quicker.

    Details about dynamic package support are outlined on this page.