[fpc-devel] a shared library suggestion

peter green plugwash at P10Link.net
Tue May 9 21:31:54 CEST 2006


What i'd like to see is compiler level support for loading dynamic libraries
and binding thier functions on demand.

this would mean a lot more flexibility. New features could be used without
breaking compatibility with older versions of the library. Version and
naming issues could be dealt with at runtime making the final compiled
binaries portable!

its possible to load libraries on demand now by using dlopen/dlsym (or thier
windows equivilents loadlibrary and getprocaddress) manually but its a pita
to do involving writing a lot of wrappers manually.





More information about the fpc-devel mailing list