[fpc-devel]Dynamic Libraries

Javier Ros jros at unavarra.es
Mon Oct 2 11:35:34 CEST 2000


Konstantin Muenning wrote:
> 
> Hello!
> 
> I am searching for the possibility to use dynamic libraries with FPC but
> ones wich are NOT linked at startup but under the explicite control (and
> request) of the executing program. I am searching for FPC equivalents of
> the functions in Borlands WinProcs unit:
> 
> LoadLibrary
> FreeLibrary
> RegisterProc
> 
> I know how I can make/use these with Windows but I don't know if it is
> present or even possible with Linux. Has anyone some experience (with C
> and Linux is would be also OK for me) or is it maybe already present in a
> current FPC version?
> 
> The reason I need this is to make a software wich has a library consisting
> of procedures and functions, wich can be loaded at runtime. Something like
> plug-ins.
> 

Not sure but I think glib offers such functionality and it works both
in linux and windows. You can find Glib within GTK libraries.



-- 
Javier Ros Ganuza.
Dpto. Ingeniería Mecánica.
Univ. Pública de Navarra. Campus de Arrosadia s/n. 31006 Pamplona.
Tel. 34 948169307 Fax. 34 948169099




More information about the fpc-devel mailing list