Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

do not instantiate the object in dpr

Post Reply
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: do not instantiate the object in dpr

Post by salvadordf »

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.
Post Reply