Maciej Piechotka wrote: > I write some glue between program and plugins in dlls. > I do not know (and documentation I found was not helpful) what should I do: > > - To prevent freeing some Objects/Class (I have to keep references to > them)
See the mono_gchandle_* () functions in object.h. The API is similar to System.InteropServices.GCHandle. http://www.go-mono.com/docs/index.aspx?link=xhtml%3adeploy%2fmono-api-gchandle.html > > - To unref returned array (I don't need it any more). > You don't need to unref it. That's the job of the GC. Robert _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
