[Mono-osx] Solved.

David Burnett vargol at ntlworld.com
Sun May 22 05:35:00 EDT 2005


Armin Arnegger wrote:
> Hi all
> 
> If I ran a simple Winforms Sample:
> using System;
> using System.Windows.Forms;
> 
> public class WinFormsHello
> {
> public static void Main ()
> {
> MessageBox.Show("Hello WinForms on Mac OS X");
> }
> }
> 
> I get the Errors:
> Mono System.Windows.Forms Assembly [Revision: 41731; built: 2005/2/15 
> 5:56:12]
> 
> Unhandled Exception: System.EntryPointNotFoundException: 
> GdipCreateFromQuartz_macosx
> in (wrapper managed-to-native) 


I can sort of confirm this although I did run an old swf-buttons.app
which I build with mono 1.1.6.

Mono System.Windows.Forms Assembly [Revision: 41731; built: 2005/2/15 
5:56:12]



Unhandled Exception: System.EntryPointNotFoundException: 
GdipCreateFromQuartz_macosx

in (wrapper managed-to-native) 
System.Drawing.GDIPlus:GdipCreateFromQuartz_macosx (intptr,int,int,intptr&)

in <0x00084> System.Drawing.Graphics:FromHwnd (IntPtr hwnd)

in <0x00070> System.Windows.Forms.XplatUIOSX:PaintEventStart (IntPtr handle)

in <0x00034> System.Windows.Forms.XplatUI:PaintEventStart (IntPtr handle)

in <0x001e8> System.Windows.Forms.Control:WndProc 
(System.Windows.Forms.Message m)

in <0x000b4> System.Windows.Forms.ButtonBase:WndProc 
(System.Windows.Forms.Message m)

in <0x0001c> System.Windows.Forms.Button:WndProc 
(System.Windows.Forms.Message m)

in <0x00034> System.Windows.Forms.Control+ControlNativeWindow:WndProc 
(System.Windows.Forms.Message m)

in <0x001b0> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg 
msg, IntPtr wParam, IntPtr lParam)

in <0x00028> System.Windows.Forms.XplatUIOSX:DispatchMessage 
(System.Windows.Forms.MSG msg)

in <0x00034> System.Windows.Forms.XplatUI:DispatchMessage 
(System.Windows.Forms.MSG msg)

in <0x002cc> System.Windows.Forms.Application:Run ()

in <0x000f4> System.Windows.Forms.Application:Run 
(System.Windows.Forms.ApplicationContext context)

in <0x00040> System.Windows.Forms.Application:Run 
(System.Windows.Forms.Form mainForm)

in <0x00038> MyFormProject.MainForm:Main (System.String[] args)



More information about the Mono-osx mailing list