foreign import ccall "PlaySound" play :: CString -> Int32 -> Int32 - > IO Bool
Is it possible that the foreign function should use the "stdcall" convention rather than "ccall"?
IIRC, the difference is in who is responsible for cleaning the the stack after the call returns, which might match one of the symptoms you see.
Regards,
Malcolm
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
