I have tried with the documentation examples, but nothing works.
Nevertheless, I followed your suggestion and I have rewritten the code
to take a flag. Thank you!
Regards,
José Lopes
On 02-03-2011 17:48, Matthew Flatt wrote:
At Mon, 28 Feb 2011 18:09:23 +0000, José Lopes wrote:
It seems that blind calls are working, although I have just performed
some small tests so far.
I have replaced the line
pTypeDesc = getMethodType((MX_COM_Object *)argv[0], name, invKind);
[...]
Even though it is working, the error message is still being printed. How
can I supress it?
See the exception-cathcing part of
http://docs.racket-lang.org/inside/exceptions.html#%28part._imz~3atempcatch%29
but it's messy. A better solution is probably to change getMethodType()
so that it takes a flag indicating whether to raise an exception or
just return NULL.
--
José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lo...@ist.utl.pt
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users