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.

Check CEFLibrary without showing message

Post Reply
3vr
Posts: 9
Joined: Mon Feb 26, 2024 7:56 pm

Check CEFLibrary without showing message

Post by 3vr »

Dear.
I would like to know if there is a way to check the dependencies of libraries and files, without showing the message like below.
cef.png
I tried using

Code: Select all

GlobalCEFApp.CheckCEFLibrary
however the message appears. I tried

Code: Select all

GlobalCEFApp.CheckCEFFiles:=False;
It does not show the message, however, it does not check if files are missing.

What is the correct way to perform this verification by code, without displaying a message?

Note: Forgive me if there are any errors in my post, it's my first time. I'm just starting to use the component.
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Check CEFLibrary without showing message

Post by salvadordf »

Hi,

Set GlobalCEFApp.ShowMessageDlg to False and GlobalCEFApp.CheckCEFFiles to False.

Then call CheckDLLs, CheckResources and CheckLocales with the same parameters that you see in TCefApplicationCore.CheckCEFResources.

After that, you can call GlobalCEFApp.StartMainProcess.
3vr
Posts: 9
Joined: Mon Feb 26, 2024 7:56 pm

Re: Check CEFLibrary without showing message

Post by 3vr »

Thanks a lot for the help. I hadn't seen the ShowMessageDlg option.
It worked by deactivating it.
Thanks ;)
Post Reply