[Mono-dev] How to use the new RHEL_5 for CentOS 5.5

xen zhen.cha at dartexecutions.com
Wed Aug 4 09:30:30 EDT 2010


bump for mono 2.6.xx repo for CentOS 5

also is there a better way to do mono embedded then this?

mono_thread_attach(monoDomain);

gpointer monoReturns[4];
MonoString* locKey = mono_string_new (monoDomain, key);
monoReturns [0] = &locKey;
monoReturns [1] = &locLineTime;
MonoArray* locTimes = mono_array_new (monoDomain,  mono_get_double_class(),
3);
for (int i = 0; i < 3; i++)
{
   mono_array_set( locTimes, double, i, times[i]);
}
monoReturns [2] = &locTimes;
// Status
MonoString* locStatus = mono_string_new (monoDomain, status);
monoReturns [3] = &locStatus;
mono_runtime_invoke(_onStatusChange, monoObject, monoReturns, NULL);

thanks

-- 
View this message in context: http://mono.1490590.n4.nabble.com/How-to-use-the-new-RHEL-5-for-CentOS-5-5-tp2306679p2313437.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list