[fpc-pascal] LoadLibrary(freeBSDlibrary) does not work...

2014-08-21 Thread fredvs
Hello. I try to dynamically load libraries in freeBSD 64 bit with DynLibs.LoadLibrary(reeBSDlibrary), with a fpc-64-bit-freeBSD application (compilation has no errors.) But at LoadLibrary(freeBSDlibrary), program crash... ;-) Here the error message from gdb = Program received signal SIGSEGV,

Re: [fpc-pascal] LoadLibrary(freeBSDlibrary) does not work...

2014-08-21 Thread fredvs
Hum, little rectif... It seems that LoadLibrary is not the guilty. I was able to dynamically load some freeBSD 64 bit libraries. The crash comes somewhere else, (maybe from DynLibs.GetProcedureAddress). I will do more investigations to find what is wrong with dealing libraries for fpc