[Gtk-sharp-list] TypeInitializationException with Gtk# 2.12.10 on Windows Vista
Michael Hutchinson
m.j.hutchinson at gmail.com
Sat Jul 17 01:44:51 EDT 2010
On Thu, Jul 15, 2010 at 11:16 PM, Zach Bean <zb at forty2.com> wrote:
>
> Hi all,
>
> I'm building a Gtk# application that I'm hoping I'll be able to use on both
> Windows and Linux. Up till recently, I've been using Linux / MonoDevelop
> exclusively, but I've now gotten it into my head that I'd like to see it
> running on Windows as well.
>
> I've installed the Gtk# runtime, version 2.12.10, but when I try running my
> app, it exits immediately. Debugging with Visual Studio Express 2008 shows
> that it's a "System.TypeInitializationException" being thrown on
> Gtk.Application.Init. Apparently the cause was a DllNotFoundException
> complaining about not being able to load libgthread-2.0-0.dll ({"Unable to
> load DLL 'libgthread-2.0-0.dll': The specified procedure could not be found.
> (Exception from HRESULT: 0x8007007F)"}).
>
> I see the same issue on Windows 7, but not on Windows XP.
64-bit?
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Gtk-sharp-list
mailing list