[Mono-list] gdiplus

Pedro Santos psantos@oninetspeed.pt
Fri, 19 Mar 2004 13:18:34 +0000

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
Unhandled Exception: System.EntryPointNotFoundException:
in <0x00053> (wrapper managed-to-native)
in <0x0007c> System.Drawing.FontFamily:.ctor
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
in <0x00028> System.Drawing.Font:.ctor
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
in <0x00026> System.Windows.Forms.Form:OnHandleCreated
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
in <0x00024>
Segmentation fault

On Fri, 2004-03-19 at 12:24, Ravindra wrote:
> Hello Kevin,
> 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?
> 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 :-)
> If you are facing any problems in using it, please let us know the exact
> error with the relevant details.
> Hope this helps!
> -Ravindra.
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
Pedro Santos <www.psantos.net>
"Si minor plus est ergo nihil sunt omnia..."

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

Version: GnuPG v1.2.3 (GNU/Linux)