Hello Olivier,

Thursday, May 15, 2008, 1:26:28 AM, you wrote:

>     RFC_RC _stdcall RfcUTF8ToSAPUC(const RFC_BYTE *utf8, unsigned 
> utf8Length,  SAP_UC *sapuc,
>       unsigned *sapucSize, unsigned *resultLength, RFC_ERROR_INFO *info)

>     foreign import ccall unsafe "sapnwrfc.h RfcUTF8ToSAPUC"
>       f_RfcUTF8ToSAPUC :: RfcBytePtr -> CUInt -> SapUCPtr -> Ptr

use stdcall instead of ccall in Haskell too. afair, depending on
calling conventions, different prefixes/suffixes are used when
translating C function name into assembler (dll) name

-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to