Re: [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 <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
On 11.11.2015 21:41, Jonathan Mitchell wrote:
>
>
>
>> On 11 Nov 2015, at 20:34, Rodrigo Kumpera <[email protected]> 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.


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.