[Mono-list] mono_method_get_unmanaged_thunk
Andrius Bentkus
ToXedVirus at gmail.com
Fri Jun 20 21:03:54 EDT 2008
I downloaded the sources from 2008 05 03 (since your patch was released that
day), ran the patch against the sources, compiled everything.
I decided to test the function with this example:
http://www.nabble.com/file/p18039829/test.cs test.cs
http://www.nabble.com/file/p18039829/teste.c teste.c
I compiled the c code using the custom libmono.so.0 (setting the new search
directory with -L)
I set the custom libmono.so.0 with LD_PRELOAD and ran
it(LD_PRELOAD=".../libmono.so.0" ./teste), but the executable throws some
crazy exceptions after calling the mono_get_delegate_invoke:
http://www.nabble.com/file/p18039829/exception.txt exception.txt
What am I doing wrong?
Have you written the patches for an earlier build?
Robert Jordan wrote:
>
> It's a MonoDelegate*. You can obtain its MonoMethod* with
> MonoMethod* mono_get_delegate_invoke (MonoDelegate*).
>
--
View this message in context: http://www.nabble.com/mono_method_get_unmanaged_thunk-tp18018017p18039829.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list