[Mono-osx] Problem with Mono 2.10.3_5 Windows.Forms

Amit Vyas amitvyas.cse at gmail.com
Tue Aug 9 07:39:37 EDT 2011


Hi All,


I have a test application with single blank Windows.Form( written in VStudio
2010, directly ported on MAC to Test)
it crashed with following message, ( It was compiling properly with Mono
2.10.2 )
=====
Mono: 10.3.5_5 : MonoFramework-MDK-2.10.3_5.macos10.xamarin.x86.dmg
Mac : 10.6.8
MonoDevelop: 2.4.2
=====

What could possibly be wrong?



*System.EntryPointNotFoundException: GdipCreateFromContext_macosx
  at (wrapper managed-to-native)
System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&)
  at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in <filename
unknown>:0
  at System.Windows.Forms.XplatUICarbon.PaintEventStart
(System.Windows.Forms.Message& msg, IntPtr handle, Boolean client) [0x00000]
in <filename unknown>:0
  at System.Windows.Forms.XplatUI.PaintEventStart
(System.Windows.Forms.Message& msg, IntPtr handle, Boolean client) [0x00000]
in <filename unknown>:0
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&
m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 *


-- 
Regards.
Amit Vyas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110809/27d74130/attachment.html 


More information about the Mono-osx mailing list