[Gtk-sharp-list] GtkPrint on Windows

Milton Pividori miltondp at gmail.com
Sat Sep 5 19:37:53 EDT 2009


Hi! I have an application which runs well on Linux but fails on Windows
XP. I tried with Gtk# installer (latest) with .NET 3.5, and with Mono
2.4.3, but I get the same exception:

System.EntryPointNotFoundException: gtk_enumerate_printers
  at (wrapper managed-to-native) Gtk.Printer:gtk_enumerate_printers (GtkSharp.PrinterFuncNative,intptr,GLib.DestroyNotify,bool)
  at Gtk.Printer.EnumeratePrinters (Gtk.PrinterFunc func, Boolean wait) [0x00000] 
  at StratosClient.ServicioFacturacion.SolapaServicioImpresion..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] : gtk_enumerate_printers

  at (wrapper managed-to-native) Gtk.Printer:gtk_enumerate_printers (GtkSharp.PrinterFuncNative,intptr,GLib.DestroyNotify,bool)
  at Gtk.Printer.EnumeratePrinters (Gtk.PrinterFunc func, Boolean wait) [0x00000] 
  at StratosClient.ServicioFacturacion.SolapaServicioImpresion..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 

I tried to use the latest bundle of Gtk+ but the same exception is
thrown. I suspect if Gtk Print works ok on Windows.

Any idea? Thanks!

-- 
Milton Pividori
Blog: http://www.miltonpividori.com.ar
Jabber ID: miltondp at gmail.com
GnuPG Public Key: gpg --keyserver subkeys.pgp.net --recv-key 0x663C185C



More information about the Gtk-sharp-list mailing list