[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-winforms-list
Subject:    [Mono-winforms-list] Still dont work.
From:       "Roberto Antonio Berrospe Machin" <robert () berlinprod ! com>
Date:       2005-11-18 15:08:42
Message-ID: 00c601c5ec5a$6721b040$97e86cc8 () robotosvr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.
---------------------------------------------


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi.</FONT></DIV>
<DIV><FONT face=Arial size=2>Well i dont know the problem what is, but i did a 
big test here on my&nbsp;iBook G4, with windows forms and still i cannot run a 
simple MessageBox.</FONT></DIV>
<DIV><FONT face=Arial size=2>What i did was, format my hard disk, reinstall OSX 
Tiger, X11, and then the latest mono 1.1.10</FONT></DIV>
<DIV><FONT face=Arial size=2>After that i wrote this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>using System.Drawing;</FONT></DIV>
<DIV><FONT face=Arial size=2>using System.Windows.Forms;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>namespace testwforms</FONT></DIV>
<DIV><FONT face=Arial size=2>{</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; public class 
message</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; {</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; static void 
Main()</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
{</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; MessageBox.Show("Hello World");</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
}</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Saved as test.cs, and then compiled it 
as:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; mcs /t:winexe 
/r:system.drawing.dll /r:system.windows.forms.dll test.cs</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Compiled OK... Then i've macpacked it 
as:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; macpack -a:test.exe -o:. -m:1 
-n:filename</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And packed ok.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, i've aded to /etc/preferences</FONT></DIV>
<DIV><FONT face=Arial 
size=2>DYLD_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib:/usr/lib:/usr/local/lib"</FONT></DIV>
 <DIV><FONT face=Arial size=2>export DYLD_LIBRARY_PATH</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And then when i try to execute the application, it 
hungs!!! do nothing!!! </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I don't know where this is being developed, but for 
sure, momo winforms dont work on Tiger. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Or there's a bug or something that need to be 
corrected by hand?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank's.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>---------------------------------------------<BR>Roberto A. Berrospe 
Machin<BR>Senior Programer / Developer</FONT></DIV>
<DIV><FONT face=Arial size=2>Florida - 
Uruguay.<BR>---------------------------------------------</FONT></DIV></BODY></HTML>



_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic