[Mono-list] Problem with DateTime class from C code

Robert Jordan robertj at gmx.net
Sun Oct 24 17:24:51 EDT 2010


Federico,


Value types must be unboxed for mono_runtime_invoke:

>          string = (MonoString*)mono_runtime_invoke(method, object, NULL,
> NULL);


string = (MonoString*) mono_runtime_invoke(method,
   mono_object_unbox(object), NULL, NULL);

Robert



More information about the Mono-list mailing list