[Gtk-sharp-list] Help needed on plotting graph

libin libin.mohanan at wipro.com
Thu Sep 3 08:52:09 EDT 2009


 
Actually it is a windows application project. We are not getting the method
not implemented exception with mono2.4, but instead this error is coming: 

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOut
put&)
  at System.Drawing.GDIPlus..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000]
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
[0x00000]
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
  at System.Windows.Forms.XplatUI..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
  at PlotterDemo.Program.Main () [0x00000]

How can we fix this error?
We are not using GTK# here. I am sorry that I posted this query here. I am
badly in need of some help.

Thanks,

Libin

-----Original Message-----
From: gtk-sharp-list-bounces at lists.ximian.com
[mailto:gtk-sharp-list-bounces at lists.ximian.com] On Behalf Of Adam Tauno
Williams
Sent: Thursday, September 03, 2009 4:09 PM
To: gtk-sharp-list
Subject: Re: [Gtk-sharp-list] Help needed on plotting graph


> I have an windows application which is plotting the graph from values.

This application uses Gtk?  Because you are asking on the Gtk# mailing list.

> It is not working with mono and giving method unimplemented exception.
> Actually the application is using system.drawing for plotting the 
> graph and from momo analyzer output I got I think I cannot use that 
> system.drawing namespace in linux.

Not true; System.Drawing is very much available.  Although  it is rarely
used in Gtk# applications.

> Anyone come across any implementation of plotting graph in linux or 
> any ideas?

There are several: Medsphere has some, nPlot, zed graph,...


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the Gtk-sharp-list mailing list