2011/5/22 Robert Jordan <[email protected]>:
> You must unbox the returned object. See mono_object_unbox().
>
> Robert

Yes, I tried that, too.
The code looks like this:
> MonoObject *o = mono_runtime_invoke (method, instance, NULL, &ex);
> GList *list = (GList *)mono_object_unbox (o);
The resulting GList contains 2 Elements, not 4 and the contents is all wrong.
Do I have to unbox the content, too? (Content is strings in this case)

Nils
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to