[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Mac OS X problems

From: Rhys Weatherley
Subject: [DotGNU]Mac OS X problems
Date: Sun, 03 Aug 2003 16:16:15 +1000
User-agent: KMail/1.4.3

Can anyone help Andrew with his problem?  The obvious things - check DISPLAY 
and libX11.dylib - didn't seem to work.



----------  Forwarded Message  ----------

Subject: Greetings and sure hope you might be able to help...
Date: Sat, 2 Aug 2003 22:17:43 -0500
From: Andrew Troelsen <address@hidden>
To: address@hidden

hello there!  I have PNet up and running on my Red Hat Linux box (love
it!) however on my Mac OS X, I find problems
when I attempt to run any of the WinForms examples.  Specifically, I
keep ending up with the following stack trace:

Uncaught exception: Xsharp.XCannotConnectException: Cannot open display
         at Xsharp.Display.OpenInternal(String, Application) in
         at Xsharp.Display.Open(String, Application) in ./Display.cs:204
         at Xsharp.Application..ctor(String, String[]) in
         at System.Drawing.Toolkit.DrawingToolkit..ctor() in
         at System.Reflection.ClrConstructor.Invoke(BindingFlags,
Binder, Object[], CultureInfo)
         at System.Reflection.ConstructorInfo.Invoke(Object[]) in
         at System.Drawing.Toolkit.ToolkitManager.CreateDefaultToolkit()
in ./Toolkit/ToolkitManager.cs:176
         at System.Drawing.Toolkit.ToolkitManager.get_Toolkit() in
System.Windows.Forms.Form.CreateToolkitWindow(IToolkitWindow) in
         at System.Windows.Forms.Control.CreateHandle() in
         at System.Windows.Forms.Form.CreateHandle() in ./Form.cs:933
         at System.Windows.Forms.Control.CreateControlInner() in
         at System.Windows.Forms.Control.CreateControl() in
         at System.Windows.Forms.Control.OnVisibleChanged(EventArgs) in
System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs) in
         at System.Windows.Forms.Form.OnVisibleChanged(EventArgs) in
         at System.Windows.Forms.Control.SetVisibleCore(Boolean) in
         at System.Windows.Forms.Form.SetVisibleCore(Boolean) in
         at System.Windows.Forms.Control.set_Visible(Boolean) in
         at System.Windows.Forms.Control.Show() in ./Control.cs:2371
         at MyApp.Main()

I know you are way busy, but if there is any way you would maybe help
me along, I would be SO grateful :-)
(I am guessing a path setting issue, but not sure what else to add to
my .tcshrc file?)

Thanks again,

Andrew Troelsen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]