[Mono-devel-list] invalid cast exception (SWF issue)
Aleksey Ryabchuk
ryabchuk at yahoo.com
Thu May 22 07:41:57 EDT 2003
Hello guys,
I'm wondering whether someone could explain why the
following is failing. As I develop SFW on Windows I
use somewhat mixed environment - mscorlib + my
implementation of SFW. Whenever I try to load some
resource, ImageList in particular, the following code
throws InvalidCastException :
this.imageList1.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
Does it have something to do with security and it is
possible to overcome by changing some configuration
settings ? Or may be I should forget about it and
concentrate on getting things working with Mono
runtime ?
Any thoughts ?
Regards
Aleksey
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the Mono-devel-list
mailing list