I'd like to handle "wrong CEF library" version by myself. Before I try to start execute: GlobalCEFApp.StartMainProcess.
I can disable the error message with: GlobalCEFApp.ShowMessageDlg set to FALSE
but I cannot execute "GlobalCEFApp.CheckCEFLibrary" (protected) just to validate the version and if there is any problem - I want to show the user proper options to resolve the issue.
I don't want to make any inheritance to TCefApplicationCore to avoid any possible complications in the future.
Can You please "unprotect" this function in future source code release ?
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.
Why method "CheckCEFLibrary" is protected ?
-
- Posts: 41
- Joined: Sun Feb 05, 2017 8:53 am
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Why method "CheckCEFLibrary" is protected ?
Hi,
I just uploaded a new CEF4Delphi version to GitHub with CheckCEFLibrary in the public section.
If you prefer to check the binaries differently you can also call CheckSubprocessPath, CheckDLLs, CheckResources, CheckLocales, CheckDLLVersion, GetDLLHeaderMachine and Is32BitProcess manually. All of them are in uCEFMiscFunctions.pas
I just uploaded a new CEF4Delphi version to GitHub with CheckCEFLibrary in the public section.
If you prefer to check the binaries differently you can also call CheckSubprocessPath, CheckDLLs, CheckResources, CheckLocales, CheckDLLVersion, GetDLLHeaderMachine and Is32BitProcess manually. All of them are in uCEFMiscFunctions.pas