[mono-vb] Troubleshooting vb.net project in mono
JDean
jdean at iastate.edu
Tue Jun 30 15:03:09 EDT 2009
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.
More information about the Mono-vb
mailing list