[Mono-winforms-list] running a simple .net form on linux

Csapi Zsolt Csapi.Zsolt@kjk-kerszov.hu
Tue, 13 May 2003 10:14:18 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C31927.A6B08A6B
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello !

=20

I am new on this list, and new in using mono... (I have already checked =
mono* list archives)

=20

I have a RedHat 9 and latest wine release installed on it. (The =
progman.exe and notepad.exe are working properly.)

=20

I installed Mono v0.24 packages too. I wrote a console application in =
C#. Mono compiles and runs it without any errors.

=20

The problem came when I wrote a very simple form application: Mono =
compiled it without any errors, but after starting it by  command 'mint =
rh9frm' the following errors appeared:

=20

 [csapizs@csapizs mono]$ mint rh9frm

=20

** (rh9frm:5490): WARNING **: Failed to load library libuser32.dll.so =
(user32.dll): libuser32.dll.so: cannot open shared object file: No such =
file or directory

got wrong token: 0x00000001

=20

** ERROR **: file loader.c: line 460 (mono_get_method): assertion =
failed: (table =3D=3D MONO_TABLE_MEMBERREF)

aborting...

F=E9lbeszak=EDtva

[csapizs@csapizs mono]$

=20

Then I made a symbolic link named libuser32.dll.so for user32.dll.so (I =
found this tip in list archive), but problem still exists.

Now starting application fails with an inner null pointer exception =
.......

=20

I think you must have solved this problem.

Please instruct me,Regards                                              =
Zsolt Csapi

=20

=20


------_=_NextPart_001_01C31927.A6B08A6B
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.ElektronikusLevlStlus17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello !</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am new on this list, and new in using mono&#8230; =
(I have
already checked mono* list archives)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a RedHat 9 and latest wine release installed =
on it. (The
progman.exe and notepad.exe are working properly.)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I installed Mono v0.24 packages too. I wrote a =
console
application in C#. Mono compiles and runs it without any =
errors.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
1.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal style=3D'border:none;padding:0cm'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>The problem came when I =
wrote a very
simple form application: Mono compiled it without any errors, but after
starting it by =A0command &#8216;mint rh9frm&#8217; the following errors
appeared:</span></font></p>

<p class=3DMsoNormal style=3D'border:none;padding:0cm'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>=A0[csapizs@csapizs mono]$ mint =
rh9frm</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>** (rh9frm:5490): WARNING **: Failed to load library
libuser32.dll.so (user32.dll): libuser32.dll.so: cannot open shared =
object
file: No such file or directory</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>got wrong token: 0x00000001</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>** ERROR **: file loader.c: line 460 =
(mono_get_method):
assertion failed: (table =3D=3D MONO_TABLE_MEMBERREF)</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>aborting...</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>F=E9lbeszak=EDtva</span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
1.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal style=3D'border:none;padding:0cm'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>[csapizs@csapizs =
mono]$</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Then I made a symbolic link named libuser32.dll.so =
for
user32.dll.so (I found this tip in list archive), but problem still =
exists.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Now starting application fails with an inner null =
pointer
exception &#8230;&#8230;.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I think you must have solved this =
problem.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Please instruct me,Regards=A0=A0 =
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0Zsolt
Csapi</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C31927.A6B08A6B--