[Haskell-cafe] using a win32 dll
Robert Jakob
robert.jakob at bitflipper.de
Wed May 29 09:50:22 CEST 2013
On Wed, 29 May 2013 09:13:09 +0200
"Kees Bleijenberg" <k.bleijenberg at lijbrandt.nl> wrote:
> I made a Delphi dll (32 bits windows). This dll exports a function
> named getPngVersion. This is a function with no arguments that
> returns a pointer to a array of chars.
Did you annotate the exported function with stdcall? The calling
conventions of Delphi are different to that of C. I had problems with
that sometimes (not with Haskell, but with C)
R.
More information about the Haskell-Cafe
mailing list