I am trying to use Firefox 46.0 SDK for GeckoFX45. I was able to find the changed uuid "Guid id" but after updating to Firefox 46 SDK I got this crash in this line :

https://github.com/EbramTawfik/GeckoFX/blob/master/Geckofx-Winforms/GeckoWebBrowser.WinForms.cs#L153

Message : System.AccessViolationException HResult=0x80004003 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Then I was able to generate the c# file for the IDLs:

Using this tool : https://bitbucket.org/geckofx/idlimp/src/default/

And the WebIDLs Using This tool : https://bitbucket.org/geckofx/webidltogeckofxbindings/src/default/

but I am getting this error:

System.EntryPointNotFoundException: 'Unable to find an entry point named '?JS_BeginRequest@@YAXPAUJSContext@@@Z' in DLL 'xul'.'

and I found the reason is that the newer version for xul doesn't export this method JS_BeginRequest@@YAXPAUJSContext@@@Z

So I don't know if there a specific way to rebuild this xul.dll to export these methods? or is the method deprecated in the newer version for xul.dll?! and if it's deprecated what should I use instead of it ?!

1

There are 1 answers

0
Ebram On

You can use XulFx it's based on Firefox 52:

https://bitbucket.org/vmas/xulfx/src/default/

and you can download releases from here :

https://bitbucket.org/vmas/xulfx/downloads/