[Gtk-sharp-list] Error on Windows Vista
Billy Schoenberg
wasbridge at gmail.com
Thu Jun 26 17:28:09 EDT 2008
Hello,
I am having problems with GTK deployment, especially on Windows Vista, and I
think mainly on 64bit configurations. This is one common stack trace I get:
This line of code is filling a TreeView with a list store, it comes very
soon after the Application.Init() and before Applicaiton.Run(). It is the
second line that I actually use GTK
The type initializer for 'GLib.GType' threw an exception.
glib-sharp
at GLib.GType.op_Explicit(Type type) at
Gtk.ListStore?<http://dialect.openmodeling.net/wiki/ListStore>..ctor(Type[]
types) at Open_Dialect.MainWindow?<http://dialect.openmodeling.net/wiki/MainWindow>..ctor(String
fileToOpen) at Open_Dialect.Program.Main(String[] args)
System.BadImageFormatException<http://dialect.openmodeling.net/wiki/BadImageFormatException>:
An attempt was made to load a program with an incorrect format. (Exception
from HRESULT: 0x8007000B)
at GLib.GType.g_type_init() at GLib.GType..cctor()
A second common issue is this:
Unable to load image-loading module:
/target/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-ico.dll: The specified
module could not be found.
gdk-sharp
at Gdk.Pixbuf..ctor(String filename)
at Open_Dialect.MainWindow..ctor(String fileToOpen) in
C:\Users\Billy\Desktop\Open Dialect\Open
Dialect\OpenDialect\FormsAndViews\MainWindow.cs:line 143
To fix this second issue I have to manually modify gdk-pixbuf.loaders and
replace /target/ with the full path, is there anyway to do this without
modifying that file? Is /target/ a environment variable that i can set
somehwere?
Billy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080626/493a18c3/attachment.html
More information about the Gtk-sharp-list
mailing list