On 10.03.2017 21:54, howard.rubin wrote:
Maybe I'm missing something, but changing
mono_runtime_invoke(ptFCtor, ptF, args, &exception);
to
mono_runtime_invoke(ptFCtor, mono_object_unbox(ptF), args, &exception);
There are more mono_runtime_invokes in your code
which must be changed. For example, this one:
args[0] = ptF;
mono_runtime_invoke(MyClassMethod, nullptr, args, &exception);
It must be:
args[0] = mono_object_unbox(ptF);
mono_runtime_invoke(MyClassMethod, nullptr, args, &exception);
Robert
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list