
27 May
2012
27 May
'12
2:12 a.m.
I don't think changing the calling convention in the binding source
code is a good idea.
If you can build the original C library with MinGW it should have the
same calling convention as Linux. WinAPI uses stdcall and possibly
DLLs compiled with VC do (tip - don't use VC DLLs if you don't have
to), but otherwise you should be using ccall.
On 26 May 2012 19:48, kotshie
I changed the stdcall on the FFI's, played with the cabal file to link to different libraries, both built on VC and MinGW but still can't find the solution