[fpc-pascal] Mangle name in fpc-FreeBSD ?

Marc Santhoff M.Santhoff at web.de
Thu Mar 17 08:44:21 CET 2016

On Mo, 2016-03-14 at 08:15 -0700, fredvs wrote:
> Hello.
> I have problem to access methods from a C library.
> For FreeBSD, the methods cannot be accessed (but ok for Linux and Windows).
> In FreeBSD, LoadLibrary(aac.so) is working but all GetProcAdress() for each
> method fail.

> Does anybody have a idea why GetProcAdress() fail in FreeBSD (but ok for
> Linux and Windows) ?
> Or must the library-code be compiled with some special instructions for fpc
> ?
> Every comment or light is highly welcome (tips, must-know, etc,...).

It would be helpful to see the code fragments in question. The
declaration of the external functions if any and the code calling
LoadLibrary() and GetProcAddress().

Marc Santhoff <M.Santhoff at web.de>

More information about the fpc-pascal mailing list