Hi,
CEF3 can only be initialized once per process. It's a CEF3 feature and there's no workaround.
If you need to use it in a DLL then you need to initialize CEF3 before creating any browser and finalize it only after all the browsers have been closed correctly.
If your DLL is loaded and unloaded several times while the main application is running then you can only use the DLL to run another application with a CEF3 browser and communicate with that browser using IPC.
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.
Libcef.dll will not "unload" after use in a DLL
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact: