Since it is a non-English passport, I am posting this using a translation.
Please understand even if the text is strange.
When I compile and run the SubProcess demo to test it, the following error occurs.
Error loading libcef.dll
Error Code : 0x0000007E
The specified module could not be found.
When I compile and run the MiniBrowser demo, it runs without any problems.
I did not modify the demo source, and all I did was specify the Chrome Binary path.
I specified the same path for the SubProcess and MiniBrowser demos.
What is the problem?
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.
SubProcess Demo Error
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: SubProcess Demo Error
Hi,
Perhaps the antivirus software thinks that SimpleBrowser_sp.exe is infected.
These false positives happen sometimes in Delphi applications.
Try this :
Perhaps the antivirus software thinks that SimpleBrowser_sp.exe is infected.
These false positives happen sometimes in Delphi applications.
Try this :
- Disable the antivirus software for a minute.
- Open the SubProcessGrp.groupproj file in Delphi.
- Right click on the "SubProcessGrp" icon inside the "Projects" section and select the "Build All" option.
- Run the demo.
Re: SubProcess Demo Error
I turned off Windows Defender real-time protection and ran Build All as you said.
And then, when I run SimpleBrowser again, the same error occurs.
The binary path options are as follows.
GlobalCEFApp.FrameworkDirPath := 'Chrome';
GlobalCEFApp.ResourcesDirPath := 'Chrome';
GlobalCEFApp.LocalesDirPath := 'Chrome\locales';
GlobalCEFApp.cache := 'Chrome\cache';
GlobalCEFApp.RootCache := 'Chrome\User Data';
The OS is Windows 10 Pro 64bit, 1909 Version.
And then, when I run SimpleBrowser again, the same error occurs.
The binary path options are as follows.
GlobalCEFApp.FrameworkDirPath := 'Chrome';
GlobalCEFApp.ResourcesDirPath := 'Chrome';
GlobalCEFApp.LocalesDirPath := 'Chrome\locales';
GlobalCEFApp.cache := 'Chrome\cache';
GlobalCEFApp.RootCache := 'Chrome\User Data';
The OS is Windows 10 Pro 64bit, 1909 Version.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: SubProcess Demo Error
The main application process and the subprocesses must have the same GlobalCEFApp configuration.
Set the GlobalCEFApp property settings in the uCEFLoarder and uCEFLoader_sp units.
Set the GlobalCEFApp property settings in the uCEFLoarder and uCEFLoader_sp units.
Re: SubProcess Demo Error
I made a stupid mistake. Thank you.