W
wackyphill
If I Repeat the following code several times (Because I want to reuse
the img throught my program) will I get multiple copies of it in memory
or only one?
Also why do I get exceptions when I close the stream after opening it?
I guess you are not supposed to close it I just dont understand why?
Stream stream = asmType.Assembly.GetManifestResourceStream( qualImgName
);
img = Image.FromStream(stream);
Thanks.
the img throught my program) will I get multiple copies of it in memory
or only one?
Also why do I get exceptions when I close the stream after opening it?
I guess you are not supposed to close it I just dont understand why?
Stream stream = asmType.Assembly.GetManifestResourceStream( qualImgName
);
img = Image.FromStream(stream);
Thanks.