Hello,<br><br>I am having problems with GTK deployment, especially on Windows Vista, and I think mainly on 64bit configurations.&nbsp; This is one common stack trace I get:<br><br>This line of code is filling a TreeView&nbsp; with a list store, it comes
very soon after the Application.Init() and before Applicaiton.Run().&nbsp;
It is the second line that I actually use GTK&nbsp; <br>
<br>The type initializer for &#39;GLib.GType&#39; threw an exception.

<p>
glib-sharp
</p>
<blockquote>
<p>
at GLib.GType.op_Explicit(Type type)
at Gtk.<a href="http://dialect.openmodeling.net/wiki/ListStore" rel="nofollow" target="_blank">ListStore?</a>..ctor(Type[] types)
at Open_Dialect.<a href="http://dialect.openmodeling.net/wiki/MainWindow" rel="nofollow" target="_blank">MainWindow?</a>..ctor(String fileToOpen)
at Open_Dialect.Program.Main(String[] args)
</p>
</blockquote>
<p>
System.<a href="http://dialect.openmodeling.net/wiki/BadImageFormatException" rel="nofollow" target="_blank">BadImageFormatException</a>: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
</p>

<p>
at GLib.GType.g_type_init()
at GLib.GType..cctor()</p><br>A second common issue is this:<br><br>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.<br><br>gdk-sharp<br>
<br>&nbsp;&nbsp; at Gdk.Pixbuf..ctor(String filename)<br>&nbsp;&nbsp; at Open_Dialect.MainWindow..ctor(String fileToOpen) in C:\Users\Billy\Desktop\Open Dialect\Open Dialect\OpenDialect\FormsAndViews\MainWindow.cs:line 143<br><br>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?&nbsp; Is /target/ a environment variable that i can set somehwere?<br>
<br>Billy<br><br><br><p><br></p><br>