Thats why you can't save references to managed objects across function calls.
Jonathan On Thu, Mar 20, 2014 at 7:46 PM, [email protected] < [email protected]> wrote: > > On 20 Mar 2014, at 22:43, Jonathan Lima <[email protected]> wrote: > > > AFAIK MonoObject is the pointer to the object in the heap, so you just > have to compare the pointers. > > > > Jonathan > > > I think that if the MonoObject instance isn't pinned then there is no > guarantee that successive unmanaged pointers to a managed object will have > the same value. > > J > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > -- Thanks, Jonathan
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
