Hi Kyra (I tried to email you directly, but, for some reason, my mail
bounced...),
Hi Haskellers,
> > dlltool -d cproj1.def -l libcproj1.a
> > ghc --make testFFI_2.hs -optl-lcproj1 -optl-L.
> > [...]
> > This leads to an error box with message:
> > "DLL (null) not found on specified path"
>
Serge LE HUITOUZE wrote:
I do the following:
dlltool -d cproj1.def -l libcproj1.a
ghc --make testFFI_2.hs -optl-lcproj1 -optl-L.
This seems fine, since it produces a "testFFI_2.exe".
However, executing it, I get a MSWindows error box with a message
that looks like (approximate translat
Hi there!
I'm trying to FFI-bind a MS Visual dll (under Windows2000) to a Haskell program.
I have this little C(++) dll:
*** FILE inc.h: START ***
extern "C" {
int pten(int i);
}
*** FILE inc.h: END ***
*** FILE inc.cpp: START ***
#include "inc.h"
int pten(int i) {