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.

[EMAIL PROTECTED] 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  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to