I have no idea of what is the problem this time,
it works for me (with ghc/ghci 5.04.3).

Not all examples work, though.
So far I got only the following examples working:
ie-listen, dir, string, env, server and math.
comserv and comclient examples need typelibrary
reading/writing which is not supported
(at least with standard compilation of hdirect).

Andre.

Johannes Goetz wrote:
AS> You should go to the hdirect/comlib directory and
AS> make install-pkg
AS> Andre.

Thanks, Andre! Now I can compile the ie-listen example...
But I still have one problem:

Loading package base ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package lang ... linking ... done.
Loading package com ... linking ... done.
Prelude> :load main
Skipping  Main             ( main.lhs, ./main.o )
Ok, modules loaded: Main.
Prelude Main> :load Main
Skipping  Main             ( Main.lhs, ./Main.o )
Ok, modules loaded: Main.
Prelude Main> main
*** Exception: unknown IO error
Reason: (0x800401f0) CoInitialize [has not been called].

Do you know why CoInitialize didn't get called? I thought that was
what do coRun does... Do I have to build special libraries for
ghci?

Johannes

_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Reply via email to