|
List Info
Thread: gecko sharp
|
|
| gecko sharp |

|
2008-01-03 11:00:50 |
|
sorry if this is not the correct place: ----------------- i did a very easy program using gecko sharp (Monodevelop 0.18.1 and mono 1.2.6), works fine in Linux, but in windows doesnt, I installed - Mono 1.2.6
- GRE-GeckoSharp-1.7.12-0.1 the error: -----------------.
C:Debug>mono web.exe gtkmozembed: realizing gtkmozembed: initializing window gtkmozembed: realizing window Stacktrace:
at (wrapper managed-to-native) Gtk.Container.gtk_container_add (intptr,intptr) <0x00004> at (wrapper managed-to-native) Gtk.Container.gtk_container_add (intptr,intptr) <0xffffffff> at
Gtk.Container.Add
(Gtk.Widget) <0x00041> at MainWindow..ctor () <0x0007d> at web.MainClass.Main (string[]) <0x0001e> at (wrapper runtime-invoke) web.MainClass.runtime_invoke_void_string[] (object ,intptr,intptr,intptr) <0xffffffff>
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
C:Debug> -----------------------------------------
i needed to make reports, Thnz -- Christian
|
| Re: gecko sharp |

|
2008-01-03 11:07:04 |
|
the source code
using System; using Gtk; using Gecko;
public partial class MainWindow: Gtk.Window { WebControl web = new WebControl(); public MainWindow (): base (Gtk.WindowType.Toplevel) { Build (); string mozillaEnvPath =
System.Environment.GetEnvironmentVariable("GECKOSHILLA_BASEPATH"); if(mozillaEnvPath != null && mozillaEnvPath.Length != 0){ Gecko.WebControl.CompPath = mozillaEnvPath;
}
web.Show(); alignment1.Add(web); web.LoadUrl(entry1.Text); }
protected void OnDeleteEvent (object sender, DeleteEventArgs a) {
Application.Quit (); a.RetVal = true; }
protected virtual void OnEntry1Activated (object sender, System.EventArgs e) { web.LoadUrl(entry1.Text); }
protected virtual void OnBtnIrActivated (object sender,
System.EventArgs e) { web.LoadUrl(entry1.Text); } }
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|