[Mono-list] Compile Errors on Mono 0.25

Alex James alex00james@adelphia.net
Sun, 29 Jun 2003 13:28:41 -0400


On Mono 0.25 (on Windows 2000), I got the following errors trying to compile
a program that compiles on the .Net Framework version 1.0.

error CS0117: `System.Drawing.Image' does not contain a definition for
`FromStream'
error CS8006: Could not find any applicable function for this argument list
error CS8006: Could not find any applicable function for this argument list

The code that throws these errors is as following:
Error1:
Image image = Image.FromStream(new MemoryStream( .... ));

Error2:
Registry.CurrentUser.DeleteSubKey( .... );

Error3:
Registry.CurrentUser.DeleteSubKey( .... );

Do these functions exist in mono?  Thanks for your help.

Alex