[Mono-winforms-list] (no subject)

Timohy Parez tpsoftware@users.sourceforge.net
Fri, 21 Nov 2003 11:17:56 +0100


Hi,

Just to make sure, 
what menu example are you talking about ?

Are you talking about the mainmenu example ?

Because I just did a few tests:

I compiled it using
mcs/mono-linux
csc/dotnet1.0
csc/dotnet1.1

Then ran it on windows and linux and I didn't get any exceptions at all.
If you want I can send you the 3 compiled versions (although they are
the same)

Let me know :-)

Timothy.

Op vr 21-11-2003, om 07:28 schreef Palamarchuk, Alexey:
> Hi Timohy i send you mistakes and exception descriyption, you asked me to send. I run test on Win2k under Micoro$oft .Net v.1.1.4322. By the way great thanx for you answer.
> 
> See the end of this message for details on invoking 
> just-in-time (JIT) debugging instead of this dialog box.
> 
> ************** Exception Text **************
> System.NullReferenceException: Object reference not set to an instance of an object.
>    at MenuTest.OnFileNew(Object sender, EventArgs e)
>    at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
>    at System.Windows.Forms.MenuItemData.Execute()
>    at System.Windows.Forms.Command.Invoke()
>    at System.Windows.Forms.Control.WmCommand(Message& m)
>    at System.Windows.Forms.Control.WndProc(Message& m)
>    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
>    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
>    at System.Windows.Forms.Form.WndProc(Message& m)
>    at MenuTest.WndProc(Message& m)
>    at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
>    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
>    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
> 
> 
> ************** Loaded Assemblies **************
> mscorlib
>     Assembly Version: 1.0.3300.0
>     Win32 Version: 1.0.3705.288
>     CodeBase: file:///c:/winnt/microsoft.net/framework/v1.0.3705/mscorlib.dll
> ----------------------------------------
> MenuTest
>     Assembly Version: 0.0.0.0
>     Win32 Version: 
>     CodeBase: file:///C:/Documents%20and%20Settings/AlexeyYP.CENTREINVEST/Desktop/MenuTest.exe
> ----------------------------------------
> System.Windows.Forms
>     Assembly Version: 1.0.3300.0
>     Win32 Version: 1.0.3705.288
>     CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
> ----------------------------------------
> System
>     Assembly Version: 1.0.3300.0
>     Win32 Version: 1.0.3705.288
>     CodeBase: file:///c:/winnt/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
> ----------------------------------------
> System.Drawing
>     Assembly Version: 1.0.3300.0
>     Win32 Version: 1.0.3705.288
>     CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
> ----------------------------------------
> 
> ************** JIT Debugging **************
> To enable just in time (JIT) debugging, the config file for this
> application or machine (machine.config) must have the
> jitDebugging value set in the system.windows.forms section.
> The application must also be compiled with debugging
> enabled.
> 
> For example:
> 
> <configuration>
>     <system.windows.forms jitDebugging="true" />
> </configuration>
> 
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the machine
> rather than being handled by this dialog.
> 
> 
> 
> -----Original Message-----
> From: Timohy Parez [mailto:tpsoftware@users.sourceforge.net]
> Sent: Thursday, November 20, 2003 5:10 PM
> To: Palamarchuk, Alexey
> Cc: Mono Lists
> Subject: Re: [Mono-winforms-list] (no subject)
> 
> 
> 
> 
> 
> 
> Hi,
> 
> The MainMenu control seems to be working with the current cvs (but as
> you can see from the screenshots it's a long way from finished or
> correctly implemented.
> 
> When you say win2k are you talking about the mono or the .NET runtime ?
> And can you give the exact exception it throws on your system.
> 
> As for a good IDE for C# under linux, there isn't a very good one,
> "yet".
> 
> I was hoping they would port #Develop to SWT# or GTK# but there seems to
> be no activity on that front. Anjuta (www.anjuta.org) has some basic
> syntax support for C# and is able to compile cs files, but doesn't offer
> support for C# projects. 
> 
> I'm currenlty using Visual Studio .NET and SharpDevelop under windows
> to design SWF applications. I use GLADE and Anjuta to design GTK#
> applications under linux. 
> 
> There is a thread on the got-mono website on the subject:
> http://www.gotmono.com/cgi-bin/yabb/YaBB.pl?board=PROJECT;action=display;num=1059764948
> 
> There is a lot of documentation on the mono homepage,
> Also check this page: http://www.go-mono.com:8080/
> 
> It contains a complete handbook and an API reference aswell as a C#
> language reference.
> 
> And of course there's the IRC channel (irc.gnome.org/#mono ; really nice
> people there :p ) and the mailinglists if you need help or information.
> 
> 
> I hope this helps you out.
> 
> Timothy P.
> 
> 
> Op wo 19-11-2003, om 08:15 schreef Palamarchuk, Alexey:
> > This is my furst experience with Mono, probably such question has
> > been already asked, anyway, i have created PEXE under RedHat Linux 9.0
> > of sample "MenuTest" (Windows.Forms build 0.28). This sample raised a
> > lot of exceptions under Linux (probably there were  some troubles with
> > WINE), under Win2K this test raises exceptino in the case (in
> > application main menu select File->Edit and after that File->File
> > and you will find an exception) .
> >  
> > P.S. 
> > And some questions:
> > 1) Where can find some more information about Mono project, there are
> > few information on the site www.go-mono.com, i need more
> > 2) Where can i find IDE for C# under Linux ? It's rather bothering to
> > edit source code in Vi editor and make PEXE under command line.
> >  
> > P.S.S. I woud like to say special thanx to people who developing Mono,
> > you are making great amazing job !!!!
> >  
>