[Mono-winforms-list] Suse 9.2 Win Form (SWF) Problem

alexander boden alex@sam.co.za
Thu, 20 Jan 2005 09:48:26 +0200


Hi all,

I have recently installed the latest rpm's from mono's website onto a 
suse 9.2 box. All seems to be working except for the win forms which I 
believe are not supported?

When I compile a win form it succeeds. However when I run it I receive 
the following error:
***********************************************************************************************
Could not load winelib.exe.so
Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for System.Windows.Forms.Win32 ---> 
System.DllNotFoundException: winelib.exe.so
in <0x00053> (wrapper managed-to-native) 
System.Windows.Forms.Win32:WineLoadLibrary (string)
in <0x00314> System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.MessageBox:Show (string)
in <0x00026> System.Windows.Forms.MessageBox:Show (string)
in <0x0000f> HelloWindowsForm:Main ()

sam002@Sam-02:~/mono_prog/win_forms> mono win_form_hello.exe
Could not load winelib.exe.so
Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for System.Windows.Forms.Win32 ---> 
System.DllNotFoundException: winelib.exe.so
in <0x00053> (wrapper managed-to-native) 
System.Windows.Forms.Win32:WineLoadLibrary (string)
in <0x00314> System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.MessageBox:Show (string)
in <0x00026> System.Windows.Forms.MessageBox:Show (string)
in <0x0000f> HelloWindowsForm:Main ()
****************************************************************************************************************

I have installed the latest wine rpm's specifically for suse 9.2 and it 
still doesn't work. I am not sure whether winelib.exe.so comes with the
wine and wine-devel packages?

Am I perhaps missing an important link that I need to add?

thanking you in advance,
alex