[Mono-dev] Populate array of PointF

Robert Jordan robertj at gmx.net
Fri Mar 10 20:23:17 UTC 2017


On 10.03.2017 18:38, Robert Jordan wrote:
 > No idea why mono_object_unbox () is failing on you. It might
 > be a side effect of a different issue.

Now I know why You can't call mono_runtime_invoke () on the
MonoObject* of a value type. You must first unbox it:

mono_runtime_invoke(ptFCtor, mono_object_unbox(ptF), args, &exception);


The rest of my post on how to manipulate array elements still
applies.

Robert





More information about the Mono-devel-list mailing list