[Mono-osx] Instance callback has this set to null when sent over as a function pointer
Rodrigo Kumpera
kumpera at gmail.com
Fri Mar 23 14:01:13 UTC 2012
Next time you run into this kind of issue, try the following MONO_DEBUG
options: keep-delegates and reverse-invoke-exceptions.
For a detailed descriptor of how they work, man mono.
2012/3/22 Maurício Linhares <mauricio.linhares at gmail.com>
> I'm trying to send a instance callback as a function pointer to a C
> method call, but when it's called the delegate "this" reference points
> to null.
>
> Anyone has any idea what this is?
>
> Code is here ->
>
> http://stackoverflow.com/questions/9829144/sending-an-instance-callback-as-a-function-pointer-results-in-this-being-null
>
> -
> Maurício Linhares
> http://techbot.me/ - http://twitter.com/#!/mauriciojr
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120323/6e718224/attachment.html>
More information about the Mono-osx
mailing list