Call a function in a shared library: Difference between revisions

m
Line 375:
 
=={{header|OCaml}}==
As far as I know there is no solution in OCaml standard library to load a function from a C library dynamically. So I have quickly implemented [[Call a function in a shared library/OCaml|a module named Dlffi that you can find in this sub-page]]. It is basically a wrapper around the GNU/Linux dl* functions and the libffi.
 
On Windows there is [http://alain.frisch.fr/flexdll.html FlexDLL].
 
Here is an example of use of this [[Call a function in a shared library/OCaml|Dlffi module]]:
Anonymous user