On Thu, 14 Dec 2006 11:10:25 +0100, Robert Jordan wrote: > 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 >
Sorry - I try to find it in wiki page about embedding mono. Regards and thanks -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/ (GNU/)Linux User: #425935 (see http://counter.li.org/) _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
