Am 14.03.2016 16:16 schrieb "fredvs" <fi...@hotmail.com>: > > 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 ?
You could check with objdump or nm what the exported symbols look like in the library. There are some systems that export C functions with a leading '_' for example. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal