mail-archives/gtk-sharp-list/2011-November/010921.html

113 строки
5.0 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:02:55 +03:00
<!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 --------
&gt;<i> Datum: Sat, 19 Nov 2011 17:55:45 -0300
</I>&gt;<i> Von: Milton Pividori &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">miltondp at gmail.com</A>&gt;
</I>&gt;<i> An: <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">gtk-sharp-list at lists.ximian.com</A>
</I>&gt;<i> Betreff: [Gtk-sharp-list] webkit-sharp error on Windows 7 64 bits
</I>
&gt;<i> Hi guys,
</I>&gt;<i>
</I>&gt;<i> Last week LDel001 sent an email asking if this library is being maintained
</I>&gt;<i> by someone. Do you have any idea about this?
</I>&gt;<i>
</I>&gt;<i> I'm getting an exception on Windows 7 64 bits with my app, which uses
</I>&gt;<i> webkit-sharp 0.3. It works fine on Windows XP 32 bits. I run it using MS
</I>&gt;<i> .NET 4.0, and webkitgtk 1.4.+ (pulled from Midori browser binaries).
</I>&gt;<i>
</I>&gt;<i> It fails when I run the method PrintFull on the MainFrame of my WebView
</I>&gt;<i> object and the GtkPrintOperation is PrintDialog. It works if it's Print.
</I>&gt;<i> This is the exception I get:
</I>&gt;<i>
</I>&gt;<i> System.Runtime.InteropServices.SEHException (0x80004005): External
</I>&gt;<i> component has thrown an exception.
</I>&gt;<i> at WebKit.WebFrame.webkit_web_frame_print_full(IntPtr raw, IntPtr
</I>&gt;<i> operation, Int32 action, IntPtr&amp; error)
</I>&gt;<i> at WebKit.WebFrame.PrintFull(PrintOperation operation,
</I>&gt;<i> PrintOperationAction action)
</I>&gt;<i> at
</I>&gt;<i> StratosClient.Common.ImpresionDocumento.&lt;CargaWebViewFinalizada&gt;b__0(Object
</I>&gt;<i> , EventArgs )
</I>&gt;<i>
</I>&gt;<i> What's strange for me is that Midori (native libraries) works fine when
</I>&gt;<i> showing the print dialog (PrintDialog). This makes me think that the
</I>&gt;<i> problem might reside in webkit-sharp.dll.
</I>&gt;<i>
</I>&gt;<i> Could you help me on this?
</I>&gt;<i>
</I>&gt;<i> Thanks.
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Milton Pividori
</I>&gt;<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>