[Mono-osx] Still don't works...

Gareth Baker g.j.baker at dl.ac.uk
Fri Nov 18 10:34:57 EST 2005


I concur - programmes sit with a spinning CD for a while and then the
following appears in the console.log:

===== Friday, November 18, 2005 3:31:19 PM Europe/London =====
Mono System.Windows.Forms Assembly [Revision: 51965; built: 2005/10/20
3:34:45]

Unhandled Exception: System.NotImplementedException: The requested feature
is not implemented.
in <0x00034> System.Windows.Forms.XplatUIOSX:SetHwndStyles
(System.Windows.Forms.Hwnd hwnd, System.Windows.Forms.CreateParams cp)
in <0x000fc> System.Windows.Forms.XplatUIOSX:CreateWindow
(System.Windows.Forms.CreateParams cp)
in <0x00034> System.Windows.Forms.XplatUI:CreateWindow
(System.Windows.Forms.CreateParams cp)
in <0x0002c> System.Windows.Forms.NativeWindow:CreateHandle
(System.Windows.Forms.CreateParams create_params)
in <0x00084> System.Windows.Forms.Control:CreateHandle ()
in <0x00018> System.Windows.Forms.Form:CreateHandle ()
in <0x0004c> System.Windows.Forms.Control:CreateControl ()
in (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:CreateControl ()
in <0x00020> System.Windows.Forms.Application:Run (System.Windows.Forms.Form
mainForm)
in <0x00034> SineCurve:Main ()

Gareth Baker


On 11/18/05 4:10 PM, "Roberto Antonio Berrospe Machin"
<robert at berlinprod.com> wrote:

> Hi.
> Well i dont know the problem what is, but i did a big test here on my iBook
> G4, with windows forms and still i cannot run a simple MessageBox.
> What i did was, format my hard disk, reinstall OSX Tiger, X11, and then the
> latest mono 1.1.10
> After that i wrote this:
> 
> using System.Drawing;
> using System.Windows.Forms;
> 
> namespace testwforms
> {
>     public class message
>     {
>         static void Main()
>         {
>             MessageBox.Show("Hello World");
>         }
>     }
> 
> }
> 
> Saved as test.cs, and then compiled it as:
> 
>     mcs /t:winexe /r:system.drawing.dll /r:system.windows.forms.dll test.cs
> 
> Compiled OK... Then i've macpacked it as:
> 
>     macpack -a:test.exe -o:. -m:1 -n:filename
> 
> And packed ok.
> 
> Also, i've aded to /etc/preferences
> DYLD_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib:/us
> r/lib:/usr/local/lib"
> export DYLD_LIBRARY_PATH
> 
> And then when i try to execute the application, it hungs!!! do nothing!!!
> 
> I don't know where this is being developed, but for sure, momo winforms dont
> work on Tiger.
> 
> Or there's a bug or something that need to be corrected by hand?
> 
> Thank's.
> 
> ---------------------------------------------
> Roberto A. Berrospe Machin
> Senior Programer / Developer
> Florida - Uruguay.
> ---------------------------------------------
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



More information about the Mono-osx mailing list