Re: Get CEF Version
Posted: Sat Jun 24, 2017 1:39 pm
Hi,
uCEFApplication defines several constants with the expected CEF3 DLL versions.
libcef.dll should be :
chrome_elf.dll has the Chromium version and it should be :
In addition to that, TCEFApplication reads the version info in chrome_elf.dll and stores it in these properties :
If you want to check it manually you can call GetDLLVersion with ClobalCEFApp.LibCefPath as first parameter and a TFileVersionInfo record as second parameter.
GetDLLVersion is defined in uCEFMiscFunctions.pas and TFileVersionInfo is defined in uCEFTypes.pas as
uCEFApplication defines several constants with the expected CEF3 DLL versions.
libcef.dll should be :
Code: Select all
CEF_SUPPORTED_VERSION_MAJOR = 3; // this indicates it's CEF3
CEF_SUPPORTED_VERSION_MINOR = 3071; // CEF branch
CEF_SUPPORTED_VERSION_RELEASE = 1643; // CEF build
CEF_SUPPORTED_VERSION_BUILD = 0;
Code: Select all
CEF_CHROMEELF_VERSION_MAJOR = 59;
CEF_CHROMEELF_VERSION_MINOR = 0;
CEF_CHROMEELF_VERSION_RELEASE = 3071;
CEF_CHROMEELF_VERSION_BUILD = 109;
Code: Select all
property ChromeMajorVer : uint16 read FChromeVersionInfo.MajorVer;
property ChromeMinorVer : uint16 read FChromeVersionInfo.MinorVer;
property ChromeRelease : uint16 read FChromeVersionInfo.Release;
property ChromeBuild : uint16 read FChromeVersionInfo.Build;
property ChromeVersion : string read GetChromeVersion; // the same info but in string format
GetDLLVersion is defined in uCEFMiscFunctions.pas and TFileVersionInfo is defined in uCEFTypes.pas as
Code: Select all
TFileVersionInfo = record
MajorVer : uint16;
MinorVer : uint16;
Release : uint16;
Build : uint16;
end;