[Mono-winforms-list] DefineCursor not implemented exception in Mono 1.1.10

Edward J. Sabol sabol at alderaan.gsfc.nasa.gov
Tue Nov 15 13:15:21 EST 2005


I upgraded to Mono 1.1.10 on my Mac on Friday. A SWF program that I ported
from Windows launches just fine with Mono 1.1.6 (although it's not fully
functional), but it now dies on launch, throwing the exception appended at
the bottom.... DefineCursor not implemented in
System.Windows.Forms.XplatUIOSX.

Questions:

Does DefineCursor work on other platforms or is this a Mac OS X deficiency?

As to why the program launched before but now fails... I'm guessing there
used to be stub functions for DefineCursor which have since been removed?

Any workarounds that can get me pass this?

Thanks,
Ed


Mono System.Windows.Forms Assembly [Revision: 51965; built: 2005/10/20 3:34:45]

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Splitter ---> System.NotImplementedException: The requested feature is not implemented.
in <0x0007c> System.Windows.Forms.XplatUIOSX:DefineCursor (System.Drawing.Bitmap bitmap, System.Drawing.Bitmap mask, Color cursor_pixel, Color mask_pixel, Int32 xHotSpot, Int32 yHotSpot)
in <0x000d4> System.Windows.Forms.XplatUI:DefineCursor (System.Drawing.Bitmap bitmap, System.Drawing.Bitmap mask, Color cursor_pixel, Color mask_pixel, Int32 xHotSpot, Int32 yHotSpot)
in <0x00134> System.Windows.Forms.Cursor:CreateCursor (System.IO.Stream stream)
in <0x000e8> System.Windows.Forms.Cursor:.ctor (System.Type type, System.String resource)
in <0x000a4> System.Windows.Forms.Splitter:.cctor ()--- End of inner exception stack trace ---


More information about the Mono-winforms-list mailing list