[Mono-list] Unable to get mono-wine working
Aleksey Ryabchuk
ryabchuk@yahoo.com
Tue, 12 Aug 2003 03:42:34 -0700 (PDT)
Hello David,
Did you follow all instructions from this page ?
http://www.nullenvoid.com/mono/wiki/index.php/MonoWinePackages
Regards
Aleksey
--- David Douglas <computerwiz1970@charter.net> wrote:
> I have installed redhat 9.0, wine, and the packages
> on the mono website
> for redhat 9.0. I am getting the following error
> message when I tried
> to run an application that brings up an empty
> window.
>
> > [david@dd-linux david]$ SWF=1 mono hello.exe
> >
> > ** (hello.exe:5885): WARNING **: Failed to load
> function PROCESS_InitWine from libntdll.dll.so
> >
> > ** (hello.exe:5885): WARNING **: Failed to load
> function PROCESS_InitWine from libntdll.dll.so
> > MonoWin32: Initializing WineLib
> >
> > Unhandled Exception:
> System.TypeInitializationException: An exception was
> thrown by the type initializer for
> System.Windows.Forms.Control --->
> System.TypeInitializationException: An exception was
> thrown by the type initializer for
> System.Windows.Forms.Win32 --->
> System.MissingMethodException: A missing method
> exception has occurred.
> > in <0x00042> 06
> System.Windows.Forms.Win32:PROCESS_InitWine
> (int,string[])
> > in <0x00083> 00 System.Windows.Forms.Win32:.cctor
> ()
> > --- End of inner exception stack trace ---
> >
> > --- End of inner exception stack trace ---
> >
> > in (unmanaged) 00
> System.Windows.Forms.Control:.ctor ()
> > in <0x0000e> 00
> System.Windows.Forms.ScrollableControl:.ctor ()
> > in <0x00014> 00
> System.Windows.Forms.ContainerControl:.ctor ()
> > in <0x0001b> 00 System.Windows.Forms.Form:.ctor ()
> > in <0x0000a> 00 .hello:.ctor ()
> > in <0x00054> 08 .hello:.ctor ()
> > in <0x0001e> 00 .hello:Main ()
>
> I am not sure what I may be doing wrong here. The
> source for my
> hello.exe file is :
>
> > using System;
> > using System.Windows.Forms;
> >
> > class hello : System.Windows.Forms.Form
> > {
> > public static void Main()
> > {
> > Application.Run(new hello());
> > }
> > }
>
> I would appreciate any suggestions.
>
> Thanks,
> David
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com