[Mono-winforms-list] Winforms and SuSE 9.1

Bernd Lachner blachner@gmx.de
Wed, 30 Jun 2004 22:03:04 +0200


Hello,

I try to get some simple winforms programs running on SuSE 9.1 with Mono 1.=
=20
Before Mono 1 I tried it with Mono Releas Candidate 1, with the same result.

The simplest winforms program I tried, is only an empty window. But I got t=
he=20
same result for every winforms program, it died.

=46or example the output of the following command:

mono -v swf-buttons.exe

Method (wrapper managed-to-native)=20
System.Object:__icall_wrapper_mono_thread_get_pending_exception () emitted =
at=20
0x414dd000 to 0x414dd049 [swf-buttons.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string=20
(object,intptr,intptr,intptr) emitted at 0x414dd050 to 0x414dd0ca=20
[swf-buttons.exe]
Method System.OutOfMemoryException:.ctor (string) emitted at 0x414dd0d0 to=
=20
0x414dd0f7 [swf-buttons.exe]
Method System.SystemException:.ctor (string) emitted at 0x414dd0f8 to=20
0x414dd11f [swf-buttons.exe]
Method System.Exception:.ctor (string) emitted at 0x414dd120 to 0x414dd181=
=20
[swf-buttons.exe]
Method System.Object:.ctor () emitted at 0x414dd188 to 0x414dd18d=20
[swf-buttons.exe]
Method System.MonoType:get_FullName () emitted at 0x414dd190 to 0x414dd1aa=
=20
[swf-buttons.exe]
Method (wrapper managed-to-native) System.MonoType:getFullName () emitted a=
t=20
0x414dd1b0 to 0x414dd200 [swf-buttons.exe]
Method System.Exception:set_HResult (int) emitted at 0x414dd208 to 0x414dd2=
16=20
[swf-buttons.exe]
Method System.NullReferenceException:.ctor (string) emitted at 0x414dd218 t=
o=20
0x414dd23f [swf-buttons.exe]
Method System.StackOverflowException:.ctor (string) emitted at 0x414dd240 t=
o=20
0x414dd253 [swf-buttons.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_Assembly=
=20
(object,intptr,intptr,intptr) emitted at 0x414dd258 to 0x414dd2d2=20
[swf-buttons.exe]
Method (wrapper managed-to-native)=20
System.Object:__icall_wrapper_mono_object_new_fast (intptr) emitted at=20
0x414dd2d8 to 0x414dd328 [swf-buttons.exe]
Method System.AppDomain:DoAssemblyLoad (System.Reflection.Assembly) emitted=
 at=20
0x414dd330 to 0x414dd39d [swf-buttons.exe]
Method System.MulticastDelegate:op_Equality=20
(System.MulticastDelegate,System.MulticastDelegate) emitted at 0x414dd3a0 t=
o=20
0x414dd3d3 [swf-buttons.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[]=
=20
(object,intptr,intptr,intptr) emitted at 0x414dd3d8 to 0x414dd44f=20
[swf-buttons.exe]
Method (wrapper managed-to-native)=20
System.Object:__icall_wrapper_mono_object_new_specific (intptr) emitted at=
=20
0x414dd450 to 0x414dd4a0 [swf-buttons.exe]
Method MyFormProject.MainForm:Main (string[]) emitted at 0x414dd4a8 to=20
0x414dd4d6 [swf-buttons.exe]
Method (wrapper managed-to-native) System.Object:__icall_wrapper_mono_ldftn=
=20
(intptr) emitted at 0x414dd4d8 to 0x414dd52c [swf-buttons.exe]
Method (wrapper remoting-invoke-with-check) MyFormProject.MainForm:.ctor ()=
=20
emitted at 0x414dd530 to 0x414dd58a [swf-buttons.exe]
Method MyFormProject.MainForm:.ctor () emitted at 0x414dd590 to 0x414dd5af=
=20
[swf-buttons.exe]
Method System.Windows.Forms.Form:.ctor () emitted at 0x414dd5b0 to 0x414dd6=
a3=20
[swf-buttons.exe]
Method System.Windows.Forms.ContainerControl:.ctor () emitted at 0x414dd6a8=
 to=20
0x414dd701 [swf-buttons.exe]
Method System.Windows.Forms.ScrollableControl:.ctor () emitted at 0x414dd70=
8=20
to 0x414dd784 [swf-buttons.exe]
Method System.Windows.Forms.Control:.ctor () emitted at 0x414dd788 to=20
0x414ddb8b [swf-buttons.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void=20
(object,intptr,intptr,intptr) emitted at 0x414ddb90 to 0x414ddbff=20
[swf-buttons.exe]
Get=C3=B6tet


O.K. I know winforms is only beta in mono 1 and I only want to test what pa=
rt=20
of winforms is working on mono. But I think something should work. Maybe=20
someone have an idea what is the problem with winforms on SuSE 9.1.

Btw. Gtk# programs and MonoDevelop works well.

=20