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

Fede federico.omoto at gmail.com
Mon Oct 25 15:11:28 EDT 2010


Thank you very much Robert, now it's working fine!


Best regards,

Federico Omoto



On Sun, Oct 24, 2010 at 6:24 PM, Robert Jordan <robertj at gmx.net> wrote:

> 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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20101025/e4b5913b/attachment.html 


More information about the Mono-list mailing list