[Mono-winforms-list] Still can't get winforms to work

Paul paul@all-the-johnsons.co.uk
Tue, 28 Sep 2004 20:30:09 +0100


--=-HMnp+QXPklpc+5/PDtG8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

> > 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.
> > DllNotFoundException: winelib.exe.so
>=20
>   This error is not in current CVS. Either you have not compiled and
> installed current CVS mono OR you have two mono's installed. Try 'which
> mono' and make sure it is the same as your --prefix when building.

which mono shows /usr/bin/mono, which is correct as that's where I set
it for the prefix.

I originally thought I had not removed the original rpms, but I had. CVS
was fresh built this afternoon.

> > in <0x00050> (wrapper managed-to-native) System.Windows.Forms.Win32:
> > WineLoadLibrary (string)
> > <in 0x00390> System.Windows.Forms.Win32:.cctor ()
> >=20
> > Is it likely that I have something somewhere which is causing mono to
> > bork when being called? I can't see anything in /usr/local/lib which
> > would cause the problem.
>=20
>   What about in /usr/local is there a mono in there?

No. I thought that was the problem.

One thing I did notice when running strace was that mono was
accessing /usr/lib/mono/1.0. When I looked, there was a 1.0 directory
(with symlinks to gac/1.0) and a 2.0 directory. Is this correct?

TTFN

Paul
--=20
Homer: Donut?=20
Lisa: No, thanks. Do you have any fruit?=20
Homer: This has purple stuff inside. Purple is a fruit.

--=-HMnp+QXPklpc+5/PDtG8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBBWbvAusSVe5EZv3wRAirrAJ4mZ99JzWwihBr56IKzmfxhPOR7jgCghmFc
lX0F9mBw/sUvgHHZJAP9Wfc=
=Qd4r
-----END PGP SIGNATURE-----

--=-HMnp+QXPklpc+5/PDtG8--