...\GeckoBrowser.pas(455,14) Error: There is no method in an ancestor class to be overridden: "TGeckoBrowserChrome.GetChromeFlags:DWord;"...\GeckoBrowser.pas(460,14) Error: There is no method in an ancestor class to be overridden: "TGeckoBrowserChrome.IsWindowModal:LongBool;"...\GeckoBrowser.pas(469,14) Error: There is no method in an ancestor class to be overridden: "TGeckoBrowserChrome.GetVisibility:LongBool;"...\GeckoBrowser.pas(471,14) Error: There is no method in an ancestor class to be overridden: "TGeckoBrowserChrome.GetTitle:^WideChar;"...\GeckoBrowser.pas(473,14) Error: There is no method in an ancestor class to be overridden: "TGeckoBrowserChrome.GetSiteWindow:^untyped;"
safecall
Right, although you're likely just covering up a bug doing that.Have you tested on Linux?Thanks.-Phil
{$R-} browser.AddWebBrowserListener(weak, table.Entries[i].IID^);{$R+}
{$R-} browser.RemoveWebBrowserListener(weak, table.Entries[i].IID^);{$R+}
{$R-} Result := QueryInterface(uuid, _result);{$R+}
{$R-} Result := QueryInterface(uuid, Intf);{$R+}
You're a genius, although I don't understand why that would be necessary since it's not needed to compile on OS X.I'm getting a crash now with GBrowser.dpr app, but if I comment out this line in TCustomGeckoBrowser.InitWebBrowser, it will run.// FListeners.InitListener(Self);I'm getting some range checking errors, but at least the browser window comes up now!Now we just have to get it to work on Linux and OS X.Thanks.-Phil
I did this:Code: [Select]{$R-} browser.AddWebBrowserListener(weak, table.Entries[i].IID^);{$R+}around line 880 andCode: [Select]{$R-} browser.RemoveWebBrowserListener(weak, table.Entries[i].IID^);{$R+} around line 900. Those 2 lines are faulty. Now If I enable range checking in compiler options then page is loaded but still each few seconds I get out of range error.
around line 1600:Code: [Select]{$R-} Result := QueryInterface(uuid, _result);{$R+} and control works (no errors at least)