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.
Upgrading CEF4Delphi
Upgrading CEF4Delphi
I have my own personal email program and have just upgraded from Delphi CE 11 to 12. I have been using CEF4Delphi for some time.
I downloaded cef_binary_126.2.18+g3647d39+chromium-126.0.6478.183_windows32.tar and unpacked it (took over 3 hours??).
The instructions say to open CEF4Delphi_group.groupproj group file. I can't seem to find it.
I looked back to previous installs and I think I used CEF4Delphi.apk.
I noticed the forum is locked to replies - is CEF4Delphi going to keep being developed?
Thanks
Ken
I downloaded cef_binary_126.2.18+g3647d39+chromium-126.0.6478.183_windows32.tar and unpacked it (took over 3 hours??).
The instructions say to open CEF4Delphi_group.groupproj group file. I can't seem to find it.
I looked back to previous installs and I think I used CEF4Delphi.apk.
I noticed the forum is locked to replies - is CEF4Delphi going to keep being developed?
Thanks
Ken
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Upgrading CEF4Delphi
Hi,
The TAR.BZ2 file contains the CEF binaries only. The group file is one of the files in the GitHub repository here :
https://github.com/salvadordf/CEF4Delphi/archive/master.zip
This forum, as many other forums, has regular visits from spammers and one of the safety features against spam is blocking some of the first posts every new user does. I have to approve those posts manually but as soon as you write a few posts this feature will be disabled.
The TAR.BZ2 file contains the CEF binaries only. The group file is one of the files in the GitHub repository here :
https://github.com/salvadordf/CEF4Delphi/archive/master.zip
This forum, as many other forums, has regular visits from spammers and one of the safety features against spam is blocking some of the first posts every new user does. I have to approve those posts manually but as soon as you write a few posts this feature will be disabled.
Re: Upgrading CEF4Delphi
Thank you for the reply.
I had sort of just stumbled over that.
I had just downloaded CEF4Delphi-126.0.6478.183.zip and unpacked it, then loaded Delphi, opened CEF4Delphi_Designtime and built and installed. When I reload or try to load my program I am getting can't load package c:\users\public\documents\studio\23.0\bpl\cef4delphi.bpl
Yeah, spammers ...ggrrr
Thanks
Ken
I had sort of just stumbled over that.
I had just downloaded CEF4Delphi-126.0.6478.183.zip and unpacked it, then loaded Delphi, opened CEF4Delphi_Designtime and built and installed. When I reload or try to load my program I am getting can't load package c:\users\public\documents\studio\23.0\bpl\cef4delphi.bpl
Yeah, spammers ...ggrrr
Thanks
Ken
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Upgrading CEF4Delphi
Follow these steps to install CEF4Delphi :
https://github.com/salvadordf/CEF4Delphi/wiki/Installation-in-Delphi
https://github.com/salvadordf/CEF4Delphi/wiki/Installation-in-Delphi
Re: Upgrading CEF4Delphi
That was what I had been following. I ended up uninstalling and installing again and seems ok.
What I had done previously was to copy uEditorBrowser and uMiniBrowser from your demos, and patch to fit in with what my program wants. This time I am finding a lot more dependencies to other units of yours.
Is there a better way, all I need is to view emails (uMiniBrowser) and edit emails (uEditorBrowser)? This way is painful.
Thanks
Ken
What I had done previously was to copy uEditorBrowser and uMiniBrowser from your demos, and patch to fit in with what my program wants. This time I am finding a lot more dependencies to other units of yours.
Is there a better way, all I need is to view emails (uMiniBrowser) and edit emails (uEditorBrowser)? This way is painful.
Thanks
Ken
Re: Upgrading CEF4Delphi
I have postponed trying to run my program, trying to get the MiniBrowser demo app to run.
Got it to compile, crashes in GlobalCEFApp.StartMainProcess
Thanks
Ken
Got it to compile, crashes in GlobalCEFApp.StartMainProcess
Thanks
Ken
Re: Upgrading CEF4Delphi
Ok, was looking at wrong locales, demo running now.
Tries to load google.com, status_access_violation
Ken
Tries to load google.com, status_access_violation
Ken
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Upgrading CEF4Delphi
Copy the CEF binaries as explained here :
https://github.com/salvadordf/CEF4Delphi/wiki/Before-you-run-the-demos
Build the SimpleBrowser2 demo and execute it to check that there's no missing file from the CEF binaries that could cause an AV.
The CEF project is about to make a big change in terms of compatibility. Some CEF4Delphi demos use the new running mode called "chrome runtime" and some demos use the old running mode called "alloy".
https://www.briskbard.com/forum/viewtopic.php?t=2298
CEF 128 will only have the "chrome runtime" mode so I would suggest using SimpleBrowser2 as a template for your application and then add the features you require from the EditorBrowser demo. SimpleBrowser2 already has the new chrome runtime mode enabled.
https://github.com/salvadordf/CEF4Delphi/wiki/Before-you-run-the-demos
Build the SimpleBrowser2 demo and execute it to check that there's no missing file from the CEF binaries that could cause an AV.
The CEF project is about to make a big change in terms of compatibility. Some CEF4Delphi demos use the new running mode called "chrome runtime" and some demos use the old running mode called "alloy".
https://www.briskbard.com/forum/viewtopic.php?t=2298
CEF 128 will only have the "chrome runtime" mode so I would suggest using SimpleBrowser2 as a template for your application and then add the features you require from the EditorBrowser demo. SimpleBrowser2 already has the new chrome runtime mode enabled.
Re: Upgrading CEF4Delphi
Thanks, will try and get back.
Ken
Ken
Re: Upgrading CEF4Delphi
SimpleBrowser2 now compiles, and finds all dll's in bin and all locales.
When run, from Delphi it loads Google ok, then after 10 seconds or so it crashes and opens the CPU window.
Call stack shows a lot of calls to libcef.dll, then wbemprox, then lots of combase.dll.
If run standalone (not from Delphi) it loads ok, but when closed it leaves a running copy in background processes.
Thanks
Ken
When run, from Delphi it loads Google ok, then after 10 seconds or so it crashes and opens the CPU window.
Call stack shows a lot of calls to libcef.dll, then wbemprox, then lots of combase.dll.
If run standalone (not from Delphi) it loads ok, but when closed it leaves a running copy in background processes.
Thanks
Ken