[fpc-pascal] freeBSD and GetProcedureAddress() ?
fredvs
fiens at hotmail.com
Wed Sep 3 13:28:27 CEST 2014
Hello everybody.
Hum, i try to dynamically load (and run) some freeBSD libraries with a
fpc-freeBSD-appliction.
For testing, i use some library included in /usr/lib (so im sure that the
library is working on freeBSD).
Those test is fully working with Linux.
I can load the library with DynLibs.LoadLibrary(libfilename) in feeBSD.
I can get the procedure address with DynLibs.GetProcedureAddress() in
freeBSD => pointer
is <> nil. => seems ok.
But if i try to use that procedure, fpc application crash (without any
useful
message from debugger).
Now the questions:
1) Has somebody try to make a fpc application that use dynamically loaded
libraries in freeBSD?
2) If yes, what was the result, was it OK ?
3) If 2) = OK => how did you do it ?
Many thanks.
Fredf
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/freeBSD-and-GetProcedureAddress-tp5719977.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list