[Mono-winforms-list] Problems to run windows app on mono for linux
Carlos Alberto Cortez
calberto.cortez at gmail.com
Tue Dec 16 11:27:06 EST 2008
This could be a bug. Do you have a code sample?
Carlos.
2008/12/16 baumhak <baumhak at gmail.com>
>
> Hi all!
> This is my first message, sorry my poor english!
> I´m trying to run an app on mono for linux with this command:
>
> mono myapp.exe
>
> but these errors appears:
>
> Unhandled Exception: System.NullReferenceException: Object reference not
> set
> to an instance of an object
> at System.Windows.Forms.ThemeWin32Classic.ButtonBase_DrawImage
> (System.Windows.Forms.ButtonBase button, System.Drawing.Graphics dc)
> [0x00000]
> at System.Windows.Forms.ThemeWin32Classic.DrawButtonBase
> (System.Drawing.Graphics dc, Rectangle clip_area,
> System.Windows.Forms.ButtonBase button) [0x00000]
> at System.Windows.Forms.ButtonBase.Draw
> (System.Windows.Forms.PaintEventArgs pevent) [0x00000]
> at System.Windows.Forms.ButtonBase.OnPaint
> (System.Windows.Forms.PaintEventArgs pevent) [0x00000]
> at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
> [0x00000]
> at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
> [0x00000]
> at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&
> m) [0x00000]
> at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
> [0x00000]
> at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
> (System.Windows.Forms.Message& m) [0x00000]
> at System.Windows.Forms.Control+ControlNativeWindow.WndProc
> (System.Windows.Forms.Message& m) [0x00000]
> at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
> wParam, IntPtr lParam) [0x00000]
> at System.Windows.Forms.XplatUIX11.DispatchMessage
> (System.Windows.Forms.MSG& msg) [0x00000]
> at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
> msg) [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 SinfMGeral.frmMenuGeral.Main (System.String[] args) [0x00000]
>
> Someone can help?
> Thanks a lot!
> --
> View this message in context:
> http://www.nabble.com/Problems-to-run-windows-app-on-mono-for-linux-tp21031393p21031393.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20081216/ccd3274c/attachment-0001.html
More information about the Mono-winforms-list
mailing list