Hi,
Can somebody give me an example that would lead to the exception below? Is that simply caused by trying to case a null ref into an NSObject? Would can cause this? Does it mean that there is a managed object that tries to access its unmanaged counterpart that no longer exists? System.InvalidCastException: Cannot cast from source type to destination type. at MonoTouch.ObjCRuntime.Runtime.TryGetNSObject (IntPtr ptr) [0x00000] in <filename unknown>:0 at MonoTouch.ObjCRuntime.Runtime.GetNSObject (IntPtr ptr) [0x00000] in <filename unknown>:0 at MonoTouch.ObjCRuntime.Runtime.GetNSObjectWrapped (IntPtr ptr) [0x00000] in <filename unknown>:0 at (wrapper native-to-managed) MonoTouch.ObjCRuntime.Runtime:GetNSObjectWrapped (intptr) René
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
