Hi,<br><br>I tried as suggested:<br><br>> hsc2hs mywin32.hsc<br>> ghc -c -O -fffi mywin32.hs<br><br>which allows me to use ghci.<br><br>And if I add a main function, I can also do this:<br><br>> hsc2hs mywin32.hsc
<br>
> ghc -fffi mywin32.hs -package Win32<br><br>Thanks everyone for the help.<br><br>-John<br><br>