[Mono-list] Windows.Forms apparently broken on OS X with mono-1.1.4 binary distribution
Thomas E. Vaughan
tevaugha@ball.com, tevaughan@comcast.net
Sat, 26 Feb 2005 16:31:04 -0700
On Fri, Feb 25, 2005 at 10:52:09PM -0600, SigmaX wrote:
>
> I'm almost certain that Mono's Winforms run on Aqua.
> Could be wrong though. Attatched is a small winform app I
> used to test out WinForms on my Linux box the other day,
> hope it works for ya :-). SigmaX
I extracted your attachment, 'Main.exe'. I'm running
mono-1.1.4 that I installed by using the OS X binary
package. Here is the output of 'mono Main.exe':
----------BEGIN TRANSCRIPT----------
done detecting keyboard: United States keyboard layout
#region #line XplatUI Constructor called
Unhandled Exception: System.TypeInitializationException: An exception was thrown
by the type initializer for Mono.Unix.Syscall ---> System.DllNotFoundException:
libMonoPosixHelper.dylib
in <0x000cc> (wrapper managed-to-native) Mono.Unix.Syscall:_L_ctermid ()
in <0x00010> Mono.Unix.Syscall:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) Mono.Unix.Syscall:poll (Mono.Unix.Pollfd[],uint,int)
in <0x00174> System.Windows.Forms.XplatUIX11:UpdateMessageQueue ()
in <0x00170> System.Windows.Forms.XplatUIX11:UpdateMessageQueue ()
in <0x000b0> System.Windows.Forms.XplatUIX11:GetMessage (System.Windows.Forms.MS
G&,intptr,int,int)
in <0x00058> System.Windows.Forms.XplatUI:GetMessage (System.Windows.Forms.MSG&,
intptr,int,int)
in <0x00878> System.Windows.Forms.Application:ModalRun (System.Windows.Forms.For
m)
in <0x000e8> System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Wi
ndow)
in <0x00084> (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:Show
Dialog (System.Windows.Forms.IWin32Window)
in <0x00020> System.Windows.Forms.Form:ShowDialog ()
in <0x0006c> (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:Show
Dialog ()
in <0x00050> MessageBoxForm:RunDialog ()
in <0x0006c> (wrapper remoting-invoke-with-check) MessageBoxForm:RunDialog ()
in <0x00068> System.Windows.Forms.MessageBox:Show (string)
in <0x00014> HelloWindowsForms:Main ()
----------END TRANSCRIPT----------
I did 'find /Library/Frameworks -name libMonoPosixHelper.dylib' and found
/Library/Frameworks/Mono.framework/Versions/1.1.4/lib/libMonoPosixHelper.dylib
Regardless of this problem, it is clear that
System.Windows.Forms is using X11. What's up?
--
Thomas E. Vaughan <tevaughan@comcast.net>