[Mono-winforms-list] swf
gennady wexler
adyler@winisp.net
Sat, 30 Oct 2004 13:02:13 -0700
of course. I can run gtk(-sharp) applications including Monodevelop shipped
with mono 1.0.2 just fine.
if I didn't have xserver running I would get the error report that you
kindly put in just recently, for which many thanks! :)
apple:~/mono/cvs/mcs/class/System.Windows.Forms/Samples adyler$ mono
--version
Mono JIT compiler version 1.1.2, (C) 2002-2004 Novell, Inc and Contributors.
www.go-mono.com
TLS: normal
GC: Included Boehm (with typed GC)
SIGSEGV : normal
Globalization: ICU
apple:~/mono/cvs/mcs/class/System.Windows.Forms/Samples adyler$ mono
Form1.exe
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.ArgumentNullException: Could not open display (X-Server required.
Check you DISPLAY environment variable)
Parameter name: Display
in <0x0028c> System.Windows.Forms.XplatUIX11:SetDisplay (intptr)
in <0x000c8> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0006c> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x0004c> System.Windows.Forms.XplatUI:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) System.Windows.Forms.XplatUI:get_DefaultClassName ()
in <0x00138> System.Windows.Forms.Control:get_CreateParams ()
in <0x00134> System.Windows.Forms.Control:get_CreateParams ()
in <0x00028> FormParentWindow:get_CreateParams ()
in <0x00238> System.Windows.Forms.Control:.ctor ()
there has to be something specific to X11 environment that SWF is not a
custom to.
this is Xdarwin that I am using currently:
apple:~/mono/cvs/mcs/class/System.Windows.Forms/Samples adyler$ X --version
2004-10-30 12:59:09.481 XDarwin[20538]
XDarwin 1.3.0
Unrecognized option: --version
use: X [:<display>] [option]
if you could perhaps write a small diagnostics tool that would tell you
exactly whats going on in UIX11 driver on my X11 - I would be more than
happy to run it for you and give its output back to you for analyses?
On 10/30/04 12:14 PM, "Peter Dennis Bartok" <peter@novonyx.com> wrote:
> I know very little about X11 on the Mac, but someone told me that you had to
> explicitly start the X server if you wanted to run X11 stuff.
> Any chance you didn't do that (yet)?
>