[Mono-osx] Windows Forms on the Mac

Michael Foord fuzzyman at voidspace.org.uk
Sat Jul 28 16:55:45 EDT 2007


Miguel de Icaza wrote:
>>  File System.Windows.Forms, line unknown, in .cctor
>>  File System.Windows.Forms, line unknown, in GetInstance
>>  File System.Windows.Forms, line unknown, in .ctor
>>  File System.Windows.Forms, line unknown, in SetDisplay
>>  File System.Windows.Forms, line unknown, in .ctor
>>  File System.Windows.Forms, line unknown, in .ctor
>>  File System.Windows.Forms, line unknown, in .ctor
>>  File System.Windows.Forms, line unknown, in .ctor
>>  File System.Windows.Forms, line unknown, in InternalSizeFromClientSize
>>  File System.Windows.Forms, line unknown, in get_CreateParams
>> SystemError: An exception was thrown by the type initializer for 
>> System.Windows.Forms.XplatUI
>>     
>
> Could you try that again with a C# application so we can get a more
> detailed exception?
>   

Ok - I did this and it reported that the DISPLAY environment variable 
wasn't set and that the X11 server couldn't be found.

When I then ran the same program from xterm it worked fine! Not only 
that but the backspace key works in the IronPython console - sweet.

Thanks for your help and sorry for the noise. I've now enabled unstable 
packages in Fink and can see that it has an old version of MonoDevelop 
(0.9-1022). I'm trying to install that but it has been running for a 
loooooooooong time. :-)

Michael Foord
http://www.ironpython.info/


More information about the Mono-osx mailing list