Closed andreysisplan closed 1 year ago
Can you provide more details about that computer, operating system and some code to reproduce that error in my computer?
Can you provide more details about that computer, operating system and some code to reproduce that error in my computer?
Yes, OS and computer configuration can be seen in the following image.
We are developing an integration with WhatsApp through the WPP4Delphi component (https://github.com/wppconnect-team/WPP4Delphi). We just initialize the GlobalCEFApp.StartMainProcess
I just installed the evaluation version of Windows Server 2019 Standard 64 bits on a virtual machine. I run Windows Update several times until it reported that it's fully updated.
I also installed Lazarus and the latest version of CEF4Delphi to try several demos and all of them worked correctly.
Please check that you are using the right files from the CEF binaries. Copy the contents of the "Release" and "Resources" directories from the CEF binaries package.
I noticed that a structure is repeatedly created in the Windows Temp folder.
When opening this chrome extension, I realized that it is about Widevine
But I still haven't figured out how to prevent or fix it.
This should not be necessary but try adding this code line before the GlobalCEFApp.StartMainProcess call in the DPR file to disable the automatic Widevine component update :
GlobalCEFApp.DisableComponentUpdate := True;
Also check that the Windows user executing your application has write privileges in the cache directory.
GlobalCEFApp.DisableComponentUpdate := True;
It worked that way. Thank you very much for your helpfulness!
Last question: Could this configuration result in any additional issues?
Widevine is used to play media content protected with DRM.
If you disable the component update you still can distribute the latest Widevine binaries with your application installer in order to play some of the protected content.
When starting an application that uses CEF4Delphi, Windows crashes when trying to load LibCef.dll and the application closes.
Note the attachment:![libcef](https://user-images.githubusercontent.com/74619882/194052499-55f42b4a-3b58-4421-8300-d7567fe08dc5.jpeg)