[racket] Fwd: MysterX

From: Joe Marshall (jmarshall at alum.mit.edu)
Date: Thu Feb 24 13:02:48 EST 2011

2011/2/24 José António <jose.lopes at ist.utl.pt>:
> If I'm understanding correctly, "pTypeDesc" is initialized with a call to
> "getMethodType", which in turn calls "typeInfoFromComObject", to get the
> object type information. However, because no such information exists, in
> this case, it raises an exception (scheme_signal_error), with the message
> "COM object does not expose type information".
> Therefore, I'm thinking that maybe the initialization of "pTypeDesc" should
> catch the exception, otherwise "buildMethodArguments" will never be called.
> What do you think?

It sounds plausible.  The code you outline above sure looks like it cannot
call anything without a typelib, so I think something must have changed in
the past several years.


Posted on the users mailing list.