[fpc-pascal] Dynamic loading shared libraries
jonas.maebe at elis.ugent.be
Tue Aug 11 21:25:43 CEST 2009
On 11 Aug 2009, at 21:18, theo wrote:
> Am I right, that with fpc it is only possible to write bindings for
> dynamically loading shared libraries (using LoadLibrary) the hard way?
> Meaning declare function like:
> init_alloc_root : procedure(root: PMEM_ROOT;block_size :
> Cardinal);extdecl; and then using GetProcedureAddress like:
> pointer(init_alloc_root) :=
How would the easy way be?
> Is there a tool for converting sources with static bindings to this?
Not that I know.
> Does h2pas have an option for this?
More information about the fpc-pascal