[fpc-pascal] freeBSD and GetProcedureAddress() ?

Marco van de Voort marcov at stack.nl
Wed Sep 3 13:40:19 CEST 2014

In our previous episode, Reinier Olislagers said:
> On 03/09/2014 13:28, fredvs wrote:
> > Hum, i try to dynamically load (and run) some freeBSD libraries with a
> > fpc-freeBSD-appliction.
> > 
> > For testing, i use some library included in /usr/lib (so im sure that the
> > library is working on freeBSD).
> Why not go crazy and post (a link to) the actual code of this test
> program? Perhaps people can spot errors just by looking at the code...

Along with the output 

file <the program you compiled>


file <the .so that you try to load>

to guard against 32 vs 64-bit issues.

More information about the fpc-pascal mailing list