[Mono-osx] Windows Forms app running on MAC OSX

russell.kay at realtimeworlds.com russell.kay at realtimeworlds.com
Wed Sep 27 04:58:09 EDT 2006


All,

 

I'm trying to get a very simple Windows Forms app running on Mac OSX
(under X11), I have used fink to get gtk working (I can run gimp-2.0 OK)
all I get from running "mono BasicForms.exe" in xterm is the output
below.

 

Does anyone have any ideas, do I need a new gtk-sharp or gtk-sharp2, or
is it some configuration file somewhere????

 

Unfortunately fink is only at 1.16.1 of mono and has not updated yet and
I really wanted to try out the 1.17.1 improvements, so I'm reluctant to
install it from there, though I will if that is the only way.

 

Russell

 

 

 

Mono System.Windows.Forms Assembly [$auto_build_revision$]

 

=================================================================

Got a SIGSEGV while executing native code. This usually indicates

a fatal error in the mono runtime or one of the native libraries 

used by your application.

=================================================================

 

Stacktrace:

 

  at (wrapper managed-to-native)
System.Windows.Forms.X11DesktopColors.gtk_init_check (int&,string)
<0xffffffff>

  at (wrapper managed-to-native)
System.Windows.Forms.X11DesktopColors.gtk_init_check (int&,string)
<0x00090>

  at System.Windows.Forms.X11DesktopColors..cctor () <0x00090>

  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0x0005c>

  at System.Windows.Forms.XplatUIX11..ctor () <0xffffffff>

  at System.Windows.Forms.XplatUIX11..ctor () <0x000b4>

  at System.Windows.Forms.XplatUIX11..ctor () <0x000b0>

  at System.Windows.Forms.XplatUIX11.GetInstance () <0x00064>

  at System.Windows.Forms.XplatUI..cctor () <0x00094>

  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0x0005c>

  at System.Windows.Forms.Application.EnableVisualStyles () <0xffffffff>

  at System.Windows.Forms.Application.EnableVisualStyles () <0x00010>

  at System.Windows.Forms.Application.EnableVisualStyles () <0x0000c>

  at BasicForm.Program.Main () <0x00010>

  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0x0005c>

Abort trap

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20060927/19caef01/attachment.html 


More information about the Mono-osx mailing list