-
-
Notifications
You must be signed in to change notification settings - Fork 392
Description
Hello,
When I was doing the encapsulation of the energy framework on MacOS M4 and conducting tests, I found that in the TCefApplicationCore.LoadCEFlibrary function, the loading of the CEF library failed during the startup initialization. The value returned by FLibHandle := LoadLibrary(LibCefPath); is 0.
System environment:
MacOS ARM64
Version: 15.1.1
Sample program: ExternalPumpBrowser
No errors were found on MacOS Intel x86, M1, and lower-version M2 systems.
In addition, there are other issues.
I encapsulated CEF4Delphi as a dynamic link library. Since the return value of loading the lib library is 0, I pre-loaded the CEF Lib library in the calling language of the library and then passed the handle to FLibHandle through the API.
In this way, the APIs related to initializing the CEF lib can be initialized normally. However, there are some problems. After running, when opening certain websites or right-clicking on the program, it will crash.