Hi again.

Further to my earlier report today:

1. Further CVS source HDirect Makefile dependencies needed as follows (not
necessarily exhaustive, see 3 below):

Com.o : WideString.o ComPrim.o ComException.o
Automation.o : SafeArray.o AutoPrim.o
SafeArray.o : StdTypes.o


2. While compiling the ihc generated file AutoPrim.hs, errors like the
following arise:

------------------------------------------------------------------------
==fptools== make all - --unix -r;
 in //d/public/cvsroot/fpt/hdirect/lib
------------------------------------------------------------------------
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc   -cpp -DBEGIN_GHC_ONLY='-}' -DEND_GHC_ON
LY='
{-' -DBEGIN_NOT_FOR_GHC='{-' -DEND_NOT_FOR_GHC='-}' -DELSE_FOR_GHC='-}-}'  -
DBEG
IN_FOR_GHC_4_08_AND_LATER='-}' -DEND_FOR_GHC_4_08_AND_LATER='{-' -DBEGIN_NOT
_FOR
_GHC_4_08_AND_LATER='{-' -DEND_NOT_FOR_GHC_4_08_AND_LATER='-}'  -static -fgl
asgo
w-exts -fno-prune-tydecls -recomp -fvia-C -c AutoPrim.hs -o AutoPrim.o -osuf
o

AutoPrim.hs:91:
    type synonym `IUnknown' should have 1 argument, but has been given 0
    In the type synonym declaration for `IDispatch'

Compilation had errors

make[1]: *** [AutoPrim.o] Error 1
make: *** [all] Error 1

----------------------------------------------------------------------------
------------
PSEUDOFIX: Naively (I am still a Haskell learner and don't understand the
consequences) added arguments to the type declarations as follows:
    type IDispatch a = IUnknown a
        dispatchInvoke :: IDispatch (a)
        ............

This is a HDirect bug?

----------------------------------------------------------------------------
---------------
3.  In automation.lhs:

Automation.lhs:7:
    Type constructor or class not in scope: `IDispatch_'

Automation.lhs:351:
    Type constructor or class not in scope: `IDispatch_'



Cheers and giving up till thumb comes out of mouth and bottom lip recedes.

Mike Thomas


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to