Error loading libcef.dll
Posted: Tue Mar 12, 2019 11:00 am
It took me a long time until I could figure this out, I only saw this very rarely and it was reported rarely by our users.
When an EXE is started, there are multiple attempts to access the libcef.dll (eg. "if CheckCEFLibrary and LoadCEFlibrary then"). Sometimes we also load multiple instances of our EXE. If a virus scanner or another security suite locks the DLL for example after CheckCEFLibrary for a short time, then LoadCEFlibrary fails. The concrete error message is "Error loading libcef.dll Error code: 0x0000020".
If libcef.dll is locked before calling CheckCEFLibrary, you get "Unsupported CEF version ... Found libcef.dll version: 0.0.0.0".
Not sure if it makes sense to make multiple attempts with a short delay if accessing/loading the DLL fails. I just wanted to report that something like that can happen under rare circumstances.
When an EXE is started, there are multiple attempts to access the libcef.dll (eg. "if CheckCEFLibrary and LoadCEFlibrary then"). Sometimes we also load multiple instances of our EXE. If a virus scanner or another security suite locks the DLL for example after CheckCEFLibrary for a short time, then LoadCEFlibrary fails. The concrete error message is "Error loading libcef.dll Error code: 0x0000020".
If libcef.dll is locked before calling CheckCEFLibrary, you get "Unsupported CEF version ... Found libcef.dll version: 0.0.0.0".
Not sure if it makes sense to make multiple attempts with a short delay if accessing/loading the DLL fails. I just wanted to report that something like that can happen under rare circumstances.