Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Update to CEF 3.3239.1709.g093cae4
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Update to CEF 3.3239.1709.g093cae4
Hi,
The latest CEF3 update fixed the JavaScript dialogs access violation and some other bugs.
Please, download the updated version of CEF4Delphi with the latest binaries :
The latest CEF3 update fixed the JavaScript dialogs access violation and some other bugs.
Please, download the updated version of CEF4Delphi with the latest binaries :
Re: Update to CEF 3.3239.1709.g093cae4
Hello. I updated and have problems in this version.
I updated before and previous versions all worked without any changes
Now seems like browser is not initializing.
chromium.Initialized is always false. So loading pages and further actions dont work. Im using chromiumparentwindows. Browsers are blank white, but nothing works
I updated library files as needed of course. No errors at start.
UPD: some more info. I checked 3.3239.1700.g385b2d4 version - doesnt work too (same white screens, no loading)
Also, I tried to wait even more time before and after creating browser. Still deosnt help.
previous installed was 3.3202.1694.gf061c23
worked fine!
I updated before and previous versions all worked without any changes
Now seems like browser is not initializing.
chromium.Initialized is always false. So loading pages and further actions dont work. Im using chromiumparentwindows. Browsers are blank white, but nothing works
I updated library files as needed of course. No errors at start.
UPD: some more info. I checked 3.3239.1700.g385b2d4 version - doesnt work too (same white screens, no loading)
Also, I tried to wait even more time before and after creating browser. Still deosnt help.
previous installed was 3.3202.1694.gf061c23
worked fine!
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 3.3239.1709.g093cae4
Hi,
Please try to run the SimpleBrowser demo. If that demo works, you may need to add a timer to your application.
The timer is used in the latest CEF4Delphi versions as a simple way to call CreateBrowser when GlobalCEFApp.GlobalContextInitialized is True.
Make sure you copied all the files and directories inside the Release and Resources. The latest CEF binaries have some subdirectories that have to be copied to the directory of your application's EXE. The directory with your application should look like this :

Please try to run the SimpleBrowser demo. If that demo works, you may need to add a timer to your application.
The timer is used in the latest CEF4Delphi versions as a simple way to call CreateBrowser when GlobalCEFApp.GlobalContextInitialized is True.
Make sure you copied all the files and directories inside the Release and Resources. The latest CEF binaries have some subdirectories that have to be copied to the directory of your application's EXE. The directory with your application should look like this :

Re: Update to CEF 3.3239.1709.g093cae4
sorry but I Said that I tried to wait more and even timer. All libraries are copied as needed
I tried simple browser and it is stucked at initializing too. White browser, nothing more.
I reverted back and checked again - 1694 version works fine.
Also, some updates before, in TCefStringMultimapOwn
U put procedure Append(const Key, Value: ustring); virtual;
in PROTECTED and it doesnt work for some reason, gives an error when compiling!. ([DCC Error] main.pas(3283): E2362 Cannot access protected symbol TCefStringMultimapOwn.Append)
I moved it to public declarations and now it works

I tried simple browser and it is stucked at initializing too. White browser, nothing more.
I reverted back and checked again - 1694 version works fine.
Also, some updates before, in TCefStringMultimapOwn
U put procedure Append(const Key, Value: ustring); virtual;
in PROTECTED and it doesnt work for some reason, gives an error when compiling!. ([DCC Error] main.pas(3283): E2362 Cannot access protected symbol TCefStringMultimapOwn.Append)
I moved it to public declarations and now it works

- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 3.3239.1709.g093cae4
What Delphi version do you use ?
Re: Update to CEF 3.3239.1709.g093cae4
Im using Delphi 2010. working on windows 10
Re: Update to CEF 3.3239.1709.g093cae4
There is! Just this version of chromium is buggedWWebber wrote: Sun Dec 24, 2017 1:35 pm Good to see others are also still using Rad2010. This is the most stable IDE since V5.02. I hope there will still be support for this platform!
So, any help here? I need to update browser in my program.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 3.3239.1709.g093cae4
I'll take a look as soon as I can.
It's Christmas and family events take priority these days.
Besides, there's a new BriskBard version coming really soon that takes time too.
Remember that I only have a Delphi Starter license and I'll have to ask for some favors to test your problem in Delphi 2010.
It's Christmas and family events take priority these days.
Besides, there's a new BriskBard version coming really soon that takes time too.
Remember that I only have a Delphi Starter license and I'll have to ask for some favors to test your problem in Delphi 2010.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 3.3239.1709.g093cae4
Hi,
Sorry for the delay.
I have the results of the latest CEF4Delphi tests in Delphi 2010 and it works correctly.
The tests where done without Delphi updates and apart from some warnings about AnsiString to String conversions CEF4Delphi was compiled and installed correctly.
4 demos were compiled and tested without problems : SimpleBrowser, MniBrowser, MDIBrowser and ExternalPumpBrowser.
All those demos loaded google.com correctly.
These results and the TCefStringMultimapOwn compilation error leads me to believe that there might be something wrong in your Delphi installation.
As you can see in the commit history for the uCEFStringMultimap.pas file, the append procedure has always been in the protected section :
https://github.com/salvadordf/CEF4Delph ... ltimap.pas
In fact, DCEF3 defined that procedure in the protected section too :
https://github.com/hgourvest/dcef3/blob ... ceflib.pas
Maybe you used a ICefStringMultimap variable before and now you are using a TCefStringMultimapOwn variable.
Please, try these :
Sorry for the delay.
I have the results of the latest CEF4Delphi tests in Delphi 2010 and it works correctly.
The tests where done without Delphi updates and apart from some warnings about AnsiString to String conversions CEF4Delphi was compiled and installed correctly.
4 demos were compiled and tested without problems : SimpleBrowser, MniBrowser, MDIBrowser and ExternalPumpBrowser.
All those demos loaded google.com correctly.
These results and the TCefStringMultimapOwn compilation error leads me to believe that there might be something wrong in your Delphi installation.
As you can see in the commit history for the uCEFStringMultimap.pas file, the append procedure has always been in the protected section :
https://github.com/salvadordf/CEF4Delph ... ltimap.pas
In fact, DCEF3 defined that procedure in the protected section too :
https://github.com/hgourvest/dcef3/blob ... ceflib.pas
Maybe you used a ICefStringMultimap variable before and now you are using a TCefStringMultimapOwn variable.
Please, try these :
- Uninstall CEF4Delphi, close Delphi, delete the BPL files and then install CEF4Delphi again. Test SimpleBrowser with all the CEF3 binary files. Don't delete locale files or anything else. Copy all of them before testing the demo.
- If the previous solution didn't work, uninstall all Delphi components, close Delphi, delete all custom BPL files and install CEF4Delphi again.
- If the previous solution didn't work, uninstall Delphi and make sure all BPL files are deleted before installing Delphi and CEF4Delphi again.
- If the previous solution didn't work, create a virtual machine, install Windows, Delphi and CEF4Delphi.