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

fredvs fiens at hotmail.com
Mon Mar 14 16:15:58 CET 2016


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.

I already ask help in FreeBSD forum : 
https://forums.freebsd.org/threads/55305/

But without luck.

Could it be that something is wrong with mangle-name of exported methods of
the library in FreeBSD ?

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,...).

PS: A solution is highly expected because there are other libraries, with
same problems in FreeBSD, that wait to be used by fpc-FreeBSD.

Many thanks.

Fre;D





-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Mangle-name-in-fpc-FreeBSD-tp5724528.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list