[Mono-winforms-list] SWF not working here
Marco Ridoni
marco.ridoni@virgilio.it
Fri, 23 May 2003 23:51:56 +0200
I followed carefully the instructions given on the M/L and in the READMEs=
, but when I try to run a simple SWF app (source below) all I get is this=
:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
[root@localhost root]# mono test.exe
** (test.exe:30425): WARNING **: Failed to load function UpdateLayeredWin=
dow from user32.dll
** (test.exe:30425): WARNING **: Failed to load function UpdateLayeredWin=
dow from user32.dll
** (test.exe:30425): WARNING **: Failed to load function GetScrollBarInfo=
from user32.dll
** (test.exe:30425): WARNING **: Failed to load function GetScrollBarInfo=
from user32.dll
** (test.exe:30425): WARNING **: Failed to load function DllGetVersion fr=
om comctl32.dll
** (test.exe:30425): WARNING **: Failed to load function DllGetVersion fr=
om comctl32.dll
** (test.exe:30425): WARNING **: Failed to load library libcomdlg32.dll.s=
o (comdlg32.dll): libcomdlg32.dll.so: cannot open shared object file: No =
such file or directory
** (test.exe:30425): WARNING **: Failed to load library libcomdlg32.dll.s=
o (comdlg32.dll): libcomdlg32.dll.so: cannot open shared object file: No =
such file or directory
** (test.exe:30425): WARNING **: Failed to load library libcomdlg32.dll.s=
o (comdlg32.dll): libcomdlg32.dll.so: cannot open shared object file: No =
such file or directory
** (test.exe:30425): WARNING **: Failed to load library libcomdlg32.dll.s=
o (comdlg32.dll): libcomdlg32.dll.so: cannot open shared object file: No =
such file or directory
MonoWin32: Initializing WineLib
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
If I try to run my test with mono --trace test.exe, the last lines of the=
output are:
=2E . . . . . . LEAVE: 00 System.IO.TextWriter:WriteLine ()
=2E . . . . . ENTER: 00 System.Threading.Monitor:Exit (object)([System.IO=
=2ESynchronizedWriter:0x80cdd20], )
=2E . . . . . . LEAVE: 00 System.Threading.Monitor:Exit (object)
=2E . . . . . LEAVE: 00 System.IO.SynchronizedWriter:WriteLine ()
=2E . . . . LEAVE: 00 System.Console:WriteLine (string)
=2E . . . ENTER: 06 System.Windows.Forms.Win32:PROCESS_InitWine (int,stri=
ng[])(0, 0x8063e58, )
=2E . . . . ENTER: 06 System.Object:__icall_wrapper_mono_marshal_string_a=
rray (object)([System.String[]:0x8063e58], )
=2E . . . . . LEAVE: 06 System.Object:__icall_wrapper_mono_marshal_string=
_array (object)EAX=3D136367184
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
I'm running the latest CVS (23-Mar, 23:50 @GMT+1) both for mcs and mono
Any suggestion?
Marco Ridoni
marco.ridoni@virgilio.it
P.S. The code I used (not really anything fancy):
using System;
using System.Windows.Forms;
namespace Test {
public class TestClass {
static void Main (string[] args) {
Form myform =3D new Form();
myform.ShowDialog();
Console.WriteLine ("Ciao!");
}
}
}