Re: do not instantiate the object in dpr
Posted: Tue Jul 03, 2018 1:07 pm
You need to initialize GlobalCEFApp and call GlobalCEFApp.StartMainProcess in the DPR as described here :
https://www.briskbard.com/index.php?lang=en&pageid=cef
Some demos call a "CreateGlobalCEFApp" function to fix a memory leak but the result is the same : GlobalCEFApp is initialized before calling GlobalCEFApp.StartMainProcess in the DPR file.
https://www.briskbard.com/index.php?lang=en&pageid=cef
Some demos call a "CreateGlobalCEFApp" function to fix a memory leak but the result is the same : GlobalCEFApp is initialized before calling GlobalCEFApp.StartMainProcess in the DPR file.