ECefException: Invalid CEF Library version after upgrading to newer version of Chromium3

1.7k views Asked by At

In an attempt to correct another problem, I've upgraded to a more recent version of Chromium Embedded (DCEF3). (Version I had was a year or so old.) I'm using delphi 2010. Now when my app tries to load the form with the TChromium control, I get "Error: ECefException: Invalid CEF Library version." So far I've tried:

  • searching computer for old versions of dcef3_D14.bpl and dcef3_D14.dcp to make sure compiler wasn't seeing an older version.
  • rebuilding all libraries that use my library with the TChromium control
  • updating the packages list to make sure dcef3_D14.bpl was there.
  • deleting and re-adding the TChromium control on my form
  • making sure the files from ...dcef\bin\Win32 are in the output folder in case any of the dll's etc are needed.

I'm still getting the error. What next? Thanks in advance.

2

There are 2 answers

0
Eric On

Turned out that Win32 files that came with DCEF3 were suitable, so that one source had what I needed. The error message was coming from a lingering reference in the requires list to an old DCEF (v1) library. The mix of DCEF and DCEF3 was causing the invalid library version issue.

0
Vuio On

DCEF3 is not compatiable with newest of Chromium.

Use DCEF4 instead at this URL: DCEF4

DCEF4 compatiable with lastest CEF version, Download lastest CEF

Warning: DCEF4 component different from DCEF3, please try before use.