[Mono-list] [embedding] "moving from mono_runtime_invoke() to mono_method_get_unmanaged_thunk()" or "how to call class method that takes and returns a string via thunks"

Robert Jordan robertj at gmx.net
Thu Nov 12 12:24:54 UTC 2015


On 11.11.2015 21:41, Jonathan Mitchell wrote:
>
>
>
>> On 11 Nov 2015, at 20:34, Rodrigo Kumpera <kumpera at gmail.com> wrote:
>>
>> How does it crash? Did you try debugging it?
>>
>> The invocation looks ok.
>>
> Is It really?
>  From reading the runtime source comments I would have tried something like:
>
> func(NULL, s, &monoExceptionPtr);


Rather

	func(s, &monoExceptionPtr)

because it seems that the method in question is static.




More information about the Mono-list mailing list