[Mono-devel-list] ResourceManager.cs
Aleksey Ryabchuk
ryabchuk at yahoo.com
Wed Apr 16 10:35:04 EDT 2003
Hello there !
I've tried to load some resources on Windows and
resource manager did not work for me. If you take a
look at InternalGetResourceSet you can see that it
tries to create a ResourceSet using
Activator.CreateInstance. I'm wondering whether it's
the right way to do this. In my VS-generated app the
parameter for ResourceManager constructor is of the
Form type. So basically it tries to create instance of
the Form type with System.IO.Stream argument and fails
to find appropriate constructor. Would not it be more
logically to create the ResourceSet like this:
set = new ResourceSet ( stream ); ?
It also would be nice to handle exception thrown from
GetSatelliteAssembly.
Just in case the patch is attached.
Thanks
Aleksey
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030416/ba214702/attachment.pl
More information about the Mono-devel-list
mailing list