On Wed, 29 May 2013 09:13:09 +0200
"Kees Bleijenberg" 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 call
> If I compile with ghc --make testGlasPng.hs -lglasPng I
> get: ..\ld.exe: cannot find -lglasPng. Collect 2: ld returned 1 exit
> status.
>
> Ld can't find lglasPng (with the l in front, does it trim the l?).
> Why? Okay I try
>
> ghc --make testGlasPng.hs -L I get:
>
> testGlasPng.o: fake: (.t