[rdnzl-devel] Problem with an even-handler callback

Edi Weitz edi at agharta.de
Sat Jul 30 20:32:41 UTC 2005


Hi!

On Sat, 30 Jul 2005 00:39:52 +0200, Kai E <remarvinator at gmail.com> wrote:

> I'm trying to insert a callback-handler in an assembly here.  The
> apropos example works great, but this assembly is giving me
> problems.  I'm doing like this:
>
> (defun handle-update (argument)
>   argument)
>
> [+OnUpdate *object* (new "OnUpdateEvent" #'handle-update)]
>
> Check with C# code that the callback only requires one argument.
> The callback is supposed to return void, but it looked like the
> adapter-thing should take care of that?

Yep.

> Anyway, when the callback fires, I get the following error with
> Lispworks 4.3.7 for Windows, and rdnzl 0.7.0
>
> [...]
>
> Any clues?

No, sorry, not from the description above.  Could you send a small
self-contained example (Lisp and C# code) which is sufficient to
reproduce the error?

Thanks,
Edi.



More information about the rdnzl-devel mailing list