зеркало из https://github.com/mono/mail-archives.git
113 строки
5.0 KiB
HTML
113 строки
5.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20webkit-sharp%20error%20on%20Windows%207%2064%20bits&In-Reply-To=CADk_myhMiSrnEvYHCpAVicaz5nOTZ2Tx_1J1ULm5L7Vzw5j3Pg%40mail.gmail.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="010919.html">
|
|
<LINK REL="Next" HREF="010922.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits</H1>
|
|
<B>Christian Hoff</B>
|
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20webkit-sharp%20error%20on%20Windows%207%2064%20bits&In-Reply-To=CADk_myhMiSrnEvYHCpAVicaz5nOTZ2Tx_1J1ULm5L7Vzw5j3Pg%40mail.gmail.com"
|
|
TITLE="[Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits">Christian_Hoff at gmx.net
|
|
</A><BR>
|
|
<I>Sun Nov 20 09:42:27 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="010919.html">[Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
|
|
</A></li>
|
|
<LI>Next message: <A HREF="010922.html">[Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#10921">[ date ]</a>
|
|
<a href="thread.html#10921">[ thread ]</a>
|
|
<a href="subject.html#10921">[ subject ]</a>
|
|
<a href="author.html#10921">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Hi Milton,
|
|
|
|
this is an old bug in gtk-sharp. See this Bugzilla entry for more information: <A HREF="https://bugzilla.novell.com/show_bug.cgi?id=380675">https://bugzilla.novell.com/show_bug.cgi?id=380675</A> . All you have to do is place the [STAThread] attribute in front of you main method.
|
|
|
|
I think that was one of the most difficult bugs in gtk-sharp back then. I spent days tracking the problem down, but was never able to find the reason for this.
|
|
|
|
Hope this helps,
|
|
|
|
Christian
|
|
|
|
-------- Original-Nachricht --------
|
|
><i> Datum: Sat, 19 Nov 2011 17:55:45 -0300
|
|
</I>><i> Von: Milton Pividori <<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">miltondp at gmail.com</A>>
|
|
</I>><i> An: <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">gtk-sharp-list at lists.ximian.com</A>
|
|
</I>><i> Betreff: [Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
|
|
</I>
|
|
><i> Hi guys,
|
|
</I>><i>
|
|
</I>><i> Last week LDel001 sent an email asking if this library is being maintained
|
|
</I>><i> by someone. Do you have any idea about this?
|
|
</I>><i>
|
|
</I>><i> I'm getting an exception on Windows 7 64 bits with my app, which uses
|
|
</I>><i> webkit-sharp 0.3. It works fine on Windows XP 32 bits. I run it using MS
|
|
</I>><i> .NET 4.0, and webkitgtk 1.4.+ (pulled from Midori browser binaries).
|
|
</I>><i>
|
|
</I>><i> It fails when I run the method PrintFull on the MainFrame of my WebView
|
|
</I>><i> object and the GtkPrintOperation is PrintDialog. It works if it's Print.
|
|
</I>><i> This is the exception I get:
|
|
</I>><i>
|
|
</I>><i> System.Runtime.InteropServices.SEHException (0x80004005): External
|
|
</I>><i> component has thrown an exception.
|
|
</I>><i> at WebKit.WebFrame.webkit_web_frame_print_full(IntPtr raw, IntPtr
|
|
</I>><i> operation, Int32 action, IntPtr& error)
|
|
</I>><i> at WebKit.WebFrame.PrintFull(PrintOperation operation,
|
|
</I>><i> PrintOperationAction action)
|
|
</I>><i> at
|
|
</I>><i> StratosClient.Common.ImpresionDocumento.<CargaWebViewFinalizada>b__0(Object
|
|
</I>><i> , EventArgs )
|
|
</I>><i>
|
|
</I>><i> What's strange for me is that Midori (native libraries) works fine when
|
|
</I>><i> showing the print dialog (PrintDialog). This makes me think that the
|
|
</I>><i> problem might reside in webkit-sharp.dll.
|
|
</I>><i>
|
|
</I>><i> Could you help me on this?
|
|
</I>><i>
|
|
</I>><i> Thanks.
|
|
</I>><i>
|
|
</I>><i> --
|
|
</I>><i> Milton Pividori
|
|
</I>><i> Blog: www.miltonpividori.com.ar
|
|
</I>
|
|
--
|
|
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
|
|
belohnen Sie mit bis zu 50,- Euro! <A HREF="https://freundschaftswerbung.gmx.de">https://freundschaftswerbung.gmx.de</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="010919.html">[Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
|
|
</A></li>
|
|
<LI>Next message: <A HREF="010922.html">[Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#10921">[ date ]</a>
|
|
<a href="thread.html#10921">[ thread ]</a>
|
|
<a href="subject.html#10921">[ subject ]</a>
|
|
<a href="author.html#10921">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
|
mailing list</a><br>
|
|
</body></html>
|