On 26.07.2013 14:09, [email protected] wrote:
     // validate the Mono representatiom
     int64_t ticks = DB_UNBOX_INT64(DBMonoObjectGetProperty(monoDateTime, 
"Ticks"));
     MonoString *monoString = mono_object_to_string(monoDateTime, NULL);

mono_object_to_string () is buggy with respect to value types:

https://github.com/mono/mono/pull/708
https://github.com/mono/mono/pull/708/files

You may want to create your own mono_object_to_string_ex
until the patch becomes incorporated and released.

Robert

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

Reply via email to