[Mono-dev] trouble with mono's handling of unsafe struct pointers vs MS.NET...

2012-08-17 Thread David Jeske
I have a C# wrapper for a native DLL which exists on both windows and UNIX. However, it doesn't work on Mono because of a behavior difference between Mono and MS.NET. Specifically, I use unsafe struct pointers to manage pointers to opaque data (rather than IntPtr). I do this to get typechecking,

Re: [Mono-dev] trouble with mono's handling of unsafe struct pointers vs MS.NET...

2012-08-17 Thread David Jeske
On Fri, Aug 17, 2012 at 1:40 PM, Rodrigo Kumpera kump...@gmail.com wrote: The code that made this ilegal is from 2005 so, yeah, in some very very old version of mono it did work. Anyway, we've reverted to allow any pointer to structs on the upcoming 2.12 release. The change is

Re: [Mono-dev] Why does .NET object lifetime not extend into an instance method call?

2012-08-24 Thread David Jeske
On Fri, Aug 24, 2012 at 10:50 AM, Jonathan Pryor jonpr...@vt.edu wrote: It seems this could happen in more cases than just PInvoke. This seems to allow a finalizer to run before an object is done being used anytime the object instance is not stored. (i.e. inside a statement of the form new

Re: [Mono-dev] Why does .NET object lifetime not extend into an instance method call?

2012-08-24 Thread David Jeske
On Fri, Aug 24, 2012 at 8:31 PM, Jonathan Pryor jonpr...@vt.edu wrote: I'm sorry for my naivety. Why does allowing unused function arguments to be collected before a function returns have such important effects on memory usage? Java. :-) The context is the JVM, and large methods. Many JVM

[Mono-dev] trouble with 1st gen ipad after latest MonoTouch update..

2013-01-29 Thread David Jeske
We're having trouble with a 1st gen iPad not working correctly as of the last couple MonoTouch releases. Our MonoTouch application is crashing, acting funny, tossing unknown selector errors into the console, and debugging under MonoTouch fails to connect to the application. Other app-store apps

Re: [Mono-dev] trouble with 1st gen ipad after latest MonoTouch update..

2013-01-29 Thread David Jeske
My apologies for accidentally posting to the wrong list... I'll repost on monotouch.. On Tue, Jan 29, 2013 at 11:05 AM, David Jeske dav...@gmail.com wrote: We're having trouble with a 1st gen iPad not working correctly as of the last couple MonoTouch releases. Our MonoTouch application