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

Guillaume BIBAUT yom@iaelu.net
Thu, 20 Jan 2005 10:36:36 +0100


I believe SWF with Winelib p/invoke is no longer supported by Mono since S.W.F
is being totally rewriten in managed code under the Managed.Windows.Forms name
in the SVN repository.


yom.

Selon alexander boden <alex@sam.co.za>:

> 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
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>