Page 1 of 1

Re: LoadLibrary on run time and not initialization

Posted: Mon Apr 29, 2019 10:42 am
by salvadordf
Hi,

You can use a try..finally too but remember that you can only initialize CEF once per process.

Some demos use the initialization and finalization sections for convenience but you can use a try..finally too, assuming that callBroswer returns after all the browsers are properly closed.

DestroyGlobalCEFApp frees GlobalCEFApp and calls cef_shutdown which has these code comments :

Code: Select all

///
// This function should be called on the main application thread to shut down
// the CEF browser process before the application exits.
///