[Mono-winforms-list] Still dont work.

Roberto Antonio Berrospe Machin robert at berlinprod.com
Fri Nov 18 11:09:05 EST 2005


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:/usr/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.
---------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20051118/d3261979/attachment.html


More information about the Mono-winforms-list mailing list