[mono-vb] Troubleshooting vb.net project in mono

Rolf Bjarne Kvinge rolflists at ya.com
Wed Jul 1 19:23:20 EDT 2009


Hi,

This sounds like a mono/winforms bug, you can either file a bug report
(bugzilla.novell.com, Mono/Class Libraries/Winforms) or send a mail to the
mono-winforms-list.

Rolf

> -----Original Message-----
> From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
> bounces at lists.ximian.com] On Behalf Of JDean
> Sent: martes, 30 de junio de 2009 21:03
> To: mono-vb at lists.ximian.com
> Subject: [mono-vb] Troubleshooting vb.net project in mono
> 
> 
> Hello Everyone,
> 
>   I've been developing small educational applications in vb.net (using
> studios 2003) and I just started trying to port them to mac and linux,
> so
> I'm pretty new to using mono.  I have a very basic winform application
> that
> I'm trying to run with mono 2.4; essentially a windows form with a
> button
> and a text box, when the button's clicked, the textbox says 'hello
> world'.
> When running the .exe in mono, it crashes with the following error log:
> 
> 
> Unhandled Exception: System.ArgumentException: GCHandle value cannot be
> zero
>   at System.Runtime.InteropServices.GCHandle.op_Explicit (IntPtr value)
> [0x00000]
>   at System.Windows.Forms.XplatUIWin32.GetMessage
> (System.Windows.Forms.MSG&
> msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax, Boolean blocking)
> [0x00000]
>   at System.Windows.Forms.XplatUIWin32.GetMessage (System.Object
> queue_id,
> System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32
> wFilterMax) [0x00000]
>   at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id,
> System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32
> wFilterMax) [0x00000]
>   at System.Windows.Forms.Application.RunLoop (Boolean Modal,
> System.Windows.Forms.ApplicationContext context) [0x00000]
>   at System.Windows.Forms.Application.Run
> (System.Windows.Forms.ApplicationContext context) [0x00000]
>   at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
> mainForm) [0x00000]
>   at Helloworld.Form1.Main () [0x00000]
> 
> 
> Again I'm fairly new to using mono, so any ideas on fixing these issues
> would be appreciated.  Please let me know if anyone would like to see
> the
> vb.net code.
> 
> 
> --
> View this message in context: http://www.nabble.com/Troubleshooting-
> vb.net-project-in-mono-tp24277711p24277711.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list