Re-hello (and last for tonight). Yep, yep, yep.
Replacing all GetProcedureAdress() with dlsym() DOES THE TRICK ! ;-) (but dlopen() is needed in place of Loadlibrary()) Excellent tip. Many, many, many thanks for help. (And, maybe, a check for DynLibs.GetProcedureAdress() is needed for FreeBSD). And re-thanks for your bright light. PS: This is a great victory who will solve (I hope) other library-related problems. PS2: Are there limitations of using dlsym() vs GetProcedureAdress() ? PS3: If dlsym() is cross-platform too, should I update all my codes that use GetProcedureAdress() ? Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Mangle-name-in-fpc-FreeBSD-tp5724528p5724588.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal