[Mono-list] gdiplus

Pedro Santos pre@oninetspeed.pt
Fri, 19 Mar 2004 14:11:15 +0000


--=-hMXx2p6dn4hDSsjiyyl1
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Well, I am having some troubles. I just installed mono-0.31, libgdi,
wine, etc. I am just running a simple "Hello World" and I got this:

bash-2.05b$ mono h.exe
=20
Unhandled Exception: System.EntryPointNotFoundException:
GdipCreateFontFamilyFromName
in <0x00053> (wrapper managed-to-native)
System.Drawing.GDIPlus:GdipCreateFontFamilyFromName
(string,intptr,intptr&)
in <0x0007c> System.Drawing.FontFamily:.ctor
(string,System.Drawing.Text.FontCollection)
in <0x00012> System.Drawing.FontFamily:.ctor (string)
in <0x00056> (wrapper remoting-invoke-with-check)
System.Drawing.FontFamily:.ctor (string)
in <0x0005b> System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bo=
ol)
in <0x00028> System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle)
in <0x00083> (wrapper remoting-invoke-with-check)
System.Drawing.Font:.ctor (string,single,System.Drawing.FontStyle)
in <0x00039> System.Drawing.Font:FromHfont (intptr)
in <0x00018> System.Windows.Forms.Control:get_DefaultFont ()
in <0x00055> System.Windows.Forms.Control:get_Font ()
in <0x0002d> System.Windows.Forms.Control:OnHandleCreated
(System.EventArgs)
in <0x00026> System.Windows.Forms.Form:OnHandleCreated
(System.EventArgs)
in <0x0025a> System.Windows.Forms.Control:CreateHandle ()
in <0x0000a> System.Windows.Forms.Form:CreateHandle ()
in <0x00033> System.Windows.Forms.Control:CreateControl ()
in <0x0004f> (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:CreateControl ()
in <0x00015> System.Windows.Forms.Application:Run
(System.Windows.Forms.Form)
in <0x00024>
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:Main
(string[])
=20
Segmentation fault


On Fri, 2004-03-19 at 12:24, Ravindra wrote:
> Hello Kevin,
>=20
> On Fri, 2004-03-19 at 17:22, Kevin Jones wrote:
> > I've installed the libgdiplus RPM, I assume from your reply that this
> > isn't enough?
>=20
> Actually, I meant you do not need gdiplus.dll separately. You need this
> dll, only if you are running mono on windows. On Linux, you just need
> libgdiplus library as all the calls to gdiplus.dll are passed to
> libgdiplus library. So, just go ahead and try it out :-)
>=20
> If you are facing any problems in using it, please let us know the exact
> error with the relevant details.
>=20
> Hope this helps!
>=20
> -Ravindra.
>=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
--=20
Pedro Santos <www.psantos.net>
"Si minor plus est ergo nihil sunt omnia..."

--=-hMXx2p6dn4hDSsjiyyl1
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBAWv+D00b8YfrkjegRArkqAKCCRXBz5SNdwpHT1ID/r1H9/idosACghaiY
fAR0Ch1CBNN8ACEv65qnXHQ=
=s3Q2
-----END PGP SIGNATURE-----

--=-hMXx2p6dn4hDSsjiyyl1--