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" > > dlltool -d cproj1.def -l libcproj1.a -D cproj1.dll Thanks very much for this answer, short and effective (an ideal one)! Just an additional question, just for curiosity: Does anyone know why this "-D" option doesn't appear in the following two pages? - http://www.haskell.org/haskellwiki/GHC/Using_the_FFI#Setting_up_your_build_environment_.28Visual_Studio_Specific.29 - http://www.haskell.org/haskellwiki/GHC:FAQ#GHC_on_Windows (parag. 1.4.3.4) Is this because the behavior I got is Win2K specific (hence very few people run into in 2008)? Thanks again Kyra for your precious help. --Serge _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe