[Haskell-cafe] FFI and DLLs

Lewis-Sandy, Darrell darrelll at amgen.com
Thu Aug 30 16:01:29 EDT 2007

An early proposal for the FFI supported importing functions directly from
dynamic link libraries:


www. <http://www.haskell.org/hdirect/ffi-a4.ps.gz>


This looks like it was dropped from the final version of the addendum in
favor of C header files as the sole form of import entities.  Not being a C
programmer, how would one go about importing a foreign function (e.g. void
Foo(void) ) from a dynamic link library (e.g. foo.dll)??   Would someone be
willing to provide an explicit example?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070830/c5ba72ac/attachment.htm

More information about the Haskell-Cafe mailing list