我开发了一个GTK#应用程序,它利用webkit-sharp编辑电子邮件模板。此应用程序在Linux中运行,但在Windows中运行时不起作用。我在Windows中使用Linux中的webkit-sharp.dll。我得到的错误是:GTK#+ WebKit + Windows
System.TypeInitializationException: The type initializer for 'WebKit.WebView' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'webkit-1.0': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at WebKit.Download.webkit_download_get_type()
at GtkSharp.WebkitSharp.ObjectManager.Initialize()
at WebKit.WebView..cctor()
--- End of inner exception stack trace ---
at WebKit.WebView..ctor()
at MainWindow..ctor()
我猜测webkit-sharp.dll只包装本地库的WebKit。我不知道从哪里获得“webkit-1.0”。是否有一个特定于GTK#的Windows的webkit-sharp.dll?
我在这里有同样的问题,对结果非常感兴趣。 – Greg 2011-05-08 16:34:46