The interpreter ships with particular version of CEF. How tied is to the HTMLRenderer dll, etc?
In other words, if a new version of CEF comes out, can I drop in the dlls (etc) into my dyalog folder independent of a dyalog release cylce?
CEF Version
-
- Posts: 431
- Joined: Fri Oct 03, 2008 4:14 pm
Re: CEF Version
So I tried going here:
https://www.nuget.org/packages/cef.redist.x64/90.6.5
dropping the CEF files into the Dyalog folder to see if I could update from v89 to v90 of CEF. No dice.
Where does Dyalog get its CEF dlls? Are they compiled specifically for Dyalog? Or are these the proper files, but the Dyalog dll expects a specific version? If so, can Dyalog enhance things so that new versions of CEF can be be used without getting a new version of Dyalog?
https://www.nuget.org/packages/cef.redist.x64/90.6.5
dropping the CEF files into the Dyalog folder to see if I could update from v89 to v90 of CEF. No dice.
Where does Dyalog get its CEF dlls? Are they compiled specifically for Dyalog? Or are these the proper files, but the Dyalog dll expects a specific version? If so, can Dyalog enhance things so that new versions of CEF can be be used without getting a new version of Dyalog?
- StefanoLanzavecchia
- Posts: 113
- Joined: Fri Oct 03, 2008 9:37 am
Re: CEF Version
Dyalog is not unique in requiring the CEFs DLL to match exactly their current adoption. CEFSharp also needs to be recompiled from source code for every new release of the CEF DLLs. As far as I know that's an intrinsic requirement of the platform. Which is the reason why I asked Dyalog to add an option in the HTMLRenderer object to obtain the exact version of CEF behind so that it's easier to know which features of Chromium are supported and which aren't. Given that the Web APIs are in continuous frenetic evolution knowing what is there and what will need to wait for a future version of the HTMLRenderer helps avoiding adoption of advertised new features which arrived in a more recent version. https://caniuse.com/
Now, Microsoft seems to have gotten around the problem for their WebView2 and offer two update models (https://docs.microsoft.com/en-us/micros ... stribution): one where the developer controls exactly the version of Edgium which his app will bind to and that they'll have to distribute along with their app, and one where the app can rely on the globally installed version which auto updates. To be honest I'd rather be in control of the version I am using to know exactly what it can do and what it cannot, but I can see scenarios where the other approach would be more useful.
Now, Microsoft seems to have gotten around the problem for their WebView2 and offer two update models (https://docs.microsoft.com/en-us/micros ... stribution): one where the developer controls exactly the version of Edgium which his app will bind to and that they'll have to distribute along with their app, and one where the app can rely on the globally installed version which auto updates. To be honest I'd rather be in control of the version I am using to know exactly what it can do and what it cannot, but I can see scenarios where the other approach would be more useful.
-
- Posts: 439
- Joined: Wed Oct 01, 2008 9:39 am
Re: CEF Version
Hi Paul and Stefano,
I can confirm what Stefano says--that a particular version of Dyalog is integrated with a particular level of CEF dlls.
We can upgrade the CEF dlls when we work on a new version as such a change requires some changes to our HTMLRenderer implementation code.
Regards,
Vince
I can confirm what Stefano says--that a particular version of Dyalog is integrated with a particular level of CEF dlls.
We can upgrade the CEF dlls when we work on a new version as such a change requires some changes to our HTMLRenderer implementation code.
Regards,
Vince
-
- Posts: 431
- Joined: Fri Oct 03, 2008 4:14 pm
Re: CEF Version
I can understand that the HTMLRenderer,dll file would be tied to the CEF dlls, but the interpreter itself? Any reason that the release of HTMLRenderer.dll to cover a new version of CEF has to be tied to the release cycle of the interpreter? I thought even .NET bridge could e updated independently of the interpreter. Is that not right?
-
- Posts: 439
- Joined: Wed Oct 01, 2008 9:39 am
Re: CEF Version
Hi Paul,
You are right, it is mainly the HTMLRenderer DLLs which are tied in with a particular CEF version.
Sometimes, the interface between the interpreter and htmlrenderer.dll needs to be changed and that will lead to a change in the interpreter.
Regards,
Vince
You are right, it is mainly the HTMLRenderer DLLs which are tied in with a particular CEF version.
Sometimes, the interface between the interpreter and htmlrenderer.dll needs to be changed and that will lead to a change in the interpreter.
Regards,
Vince