Hi Jordi: # pkg-config --modversion libgdiplus 0.2 # pkg-config --modversion cairo 0.1.18
This is the example:
//---------------------------------------------------------------------
namespace Microsoft.Samples.WinForms.Cs.SimpleHelloWorld {
using System;
using System.Windows.Forms;
public class SimpleHelloWorld : Form {
[STAThread]
public static int Main(string[] args) {
Application.Run(new SimpleHelloWorld());
return 0;
}
public SimpleHelloWorld() {
this.Text = "Hello World";
}
}
}
And this is the complete output:
//---------------------------------------------------------------------
$ mono h.exe
When you are running with a native NT directory specify
'Profile=<profiledirectory>' or disable loading of Windows
registry (LoadWindowsRegistryFiles=N)
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,bool)
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[])
On Fri, 2004-03-19 at 14:49, Jordi Mas wrote:
> En/na Pedro Santos ha escrit:
> > 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:
> >
>
> Hello Pedro,
>
> Can you make sure that you are running libgdiplus 0.2? If this is the case,
> please send me the example that you are trying to run and gives you that error.
>
> Thanks Pedro,
>
> Jordi,
--
Pedro Santos <www.psantos.net>
"Si minor plus est ergo nihil sunt omnia..."
signature.asc
Description: This is a digitally signed message part
