AW: [Mono-list] Re: AW: Mkbundle <-> Mono direct

Schmuck schmuck at gecosoft.com
Thu Jun 1 02:26:46 EDT 2006


Hi there,

found a weird behavior, running the same app once in mono-1.1.13.2 and mono-1.1.15.
in 1.13.2 it runs fine, but 1.15 throws the message below, which i would not expect, cause
in the mono-RT one step earlier its running!? Seems to me, like this is a bug in mono, isn't it?

Unhandled Exception: System.NotImplementedException: The requested feature is not implemented.
in <0x0001d> Microsoft.VisualBasic.Interaction:MsgBox (System.Object Prompt, MsgBoxStyle Buttons, System.Object Title)
in <0x00101> GecoConfig.GecoConfig:TabCtrl_Enter (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00023> System.Windows.Forms.Control:OnEnter (System.EventArgs e)
in <0x0153d> System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message m)
in <0x0000d> System.Windows.Forms.TabControl:WndProc (System.Windows.Forms.Message m)
in <0x00014> System.Windows.Forms.Control+ControlNativeWindow:WndProc (System.Windows.Forms.Message m)
in <0x0011e> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
in <0x00013> System.Windows.Forms.XplatUIX11:SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
in <0x0003b> System.Windows.Forms.XplatUIX11:SetFocus (IntPtr handle)
in <0x00015> System.Windows.Forms.XplatUI:SetFocus (IntPtr handle)
in <0x00168> System.Windows.Forms.Control:Select (System.Windows.Forms.Control control)
in <0x0010c> System.Windows.Forms.ContainerControl:set_ActiveControl (System.Windows.Forms.Control value)
in <0x00123> System.Windows.Forms.Control:Select (System.Windows.Forms.Control control)
in <0x000d3> System.Windows.Forms.Control:SelectNextControl (System.Windows.Forms.Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
in <0x0004c> System.Windows.Forms.Form:OnCreateControl ()
in <0x000a6> System.Windows.Forms.Control:CreateControl ()
in <0x0004b> System.Windows.Forms.Control:SetVisibleCore (Boolean value)
in <0x0000f> System.Windows.Forms.Form:SetVisibleCore (Boolean value)
in <0x00013> System.Windows.Forms.Control:set_Visible (Boolean value)
in (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
in <0x000e3> System.Windows.Forms.Application:RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context)
in <0x00024> System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm)
in <0x0001f> GecoConfig.GecoConfig:Main ()

Regards,
Stephan Schmuck



-----Ursprüngliche Nachricht-----
Von: Wade Berrier [mailto:wberrier at novell.com]
Gesendet: Mittwoch, 31. Mai 2006 16:34
An: mono-list at lists.ximian.com
Betreff: Re: [Mono-list] Re: AW: Mkbundle <-> Mono direct


On Wed, 2006-05-31 at 16:25 +0200, Robert Jordan wrote:
> Schmuck wrote:
> > Oops, running the app direct with mono-1.1.15 results in this message
> > 
> > <Snip>
> > gecosoft at linux:~> mono-1.1.15/bin/mono gecoconfig.exe
> > Mono System.Windows.Forms Assembly [$auto_build_revision$]
> > Keyboard: German keyboard layout
> > KDE colorscheme read
> > 
> > Unhandled Exception: System.EntryPointNotFoundException: GdipGetFontHeightGivenDPI
> > in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetFontHeightGivenDPI (intptr,single,single&)
> > in <0x00022> System.Drawing.Font:GetHeight (Single dpi)
> > in <0x00020> System.Drawing.Font:GetHeight ()
> > in <0x0000d> System.Drawing.Font:get_Height ()
> > in (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height ()
> > in <0x0007e> System.Windows.Forms.Form:GetAutoScaleSize (System.DrawingGraphics g, System.Drawing.Font font)
> > in <0x0003e> System.Windows.Forms.Form:.ctor ()
> > in <0x00011> GecoConfig.GecoConfig:.ctor ()
> > in (wrapper remoting-invoke-with-check) GecoConfig.GecoConfig:.ctor ()
> > in <0x00018> GecoConfig.GecoConfig:Main ()
> > 
> > </Snip>
> > 
> > Only tried it running in mono-1.1.13.2 direct, there it works??!!
> > 
> > -> Installed Mono both using the given installer.
> 
> Mono is probably picking the wrong libgdiplus.so.
> Assure that it finds the right one (it's $monoprefix/lib/libgdiplus.so).
> 

I think you're right.  10.0 ships with libgdiplus 1.1.8.  The Linux
installer adds env variables to $HOME/.bashrc.  Make sure those settings
are loaded before trying.

Wade


More information about the Mono-list mailing list