[Mono-dev] BUG? System.Windows.Forms not working with resources?

Andreas Nahr ClassDevelopment at A-SoftTech.com
Fri Jul 7 15:11:21 EDT 2006


I guess you are running on windows.
The problem with mono on windows is that it will output stuff like unhandled 
exceptions to the command line/error out that you usually don't see on 
windows. I have written an application that allows you to run mono apps and 
displays output, so that you could see the output.
It currently needs MS .Net 2.0, so it currently will not work when it is 
itself run on mono, but it starts the applications using mono.

Regards
Andreas

----- Original Message ----- 
From: ""Andrés G. Aragoneses [ knocte ]"" <knocte at gmail.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Friday, July 07, 2006 12:01 PM
Subject: [Mono-dev] BUG? System.Windows.Forms not working with resources?


Hello.

I have just downloaded Mono 1.1.16 today and tried a SWF application
with it. It failed silently (no exceptions thrown!! :( ), so I began
debugging it and I have discovered that mono exits when reaches the
following line:

this.pictureBox3.Image =
((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));

I have investigated a bit and found that the GetObject method is not
implemented:

http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs?view=markup

Is this supposed to be implemented in the upcoming Mono 1.2? Is correct
the behaviour of failing silently? I have made a minimal testcase with
an image as a resource that shows this problem, should I create a bug in
bugzilla and attach it to the bug?

Regards,

Andrés [ knocte ]

-- 

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MonoLaunch.zip
Type: application/octet-stream
Size: 20074 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060707/a8d66351/attachment.obj 


More information about the Mono-devel-list mailing list