I am trying to use CEF4Delphi 81.2.16+chromium-81.0.4044.92 in my DLL with modal form and have encountered a problem.
I need to load the SEF at the beginning of working with the DLL and unload the CEF before unloading my DLL. Loading and unloading takes place inside my DLL.
I added
Code: Select all
MustFreeLibrary := True
Code: Select all
GlobalCEFApp.StartMainProcess
I did an experiment in the DLLBrowser demo - added
Code: Select all
GlobalCEFApp.MustFreeLibrary := True
Code: Select all
GlobalCEFApp.StartMainProcess
How can I load and unload CEF correctly without shutting down the program?
Please help me.