[Haskell-cafe] Linker problems linking FFI import call in Windo ws

Steve Schafer steve at fenestra.com
Wed Jul 16 12:26:31 EDT 2008

On Wed, 16 Jul 2008 10:22:46 -0600, you wrote:

>I do have the import library. It came with the DLL. It links properly
>when I use CCALL on the haskell import statements. Doesnt link when I
>use STDCALL. It looks for  function name with something like '@4 or
>@8' tacked on at the end. Not sure what that is all about.

This is known as name mangling. See the Wikipedia article for more info:


Steve Schafer
Fenestra Technologies Corp.

More information about the Haskell-Cafe mailing list