Check libs before StartMainProcess
Posted: Wed Dec 09, 2020 8:57 am
Hello!
Case: in our program libs can be not exists on computer. In this case there are downloading libs from ftp, and then starting Chromium.
In CEF, when executing GlobalCEFApp.StartMainProcess without libs, we catching error 'CEF libraries is missing'.
In documenation, StartMainProcess must be called only on .dpr before Application.Initialize.
How we can call StartMainProcess after special event in our program, for example - on button click? We dont have necessary have necessity to store CEF libraries for each copy of our program, only when the user need it.
Case: in our program libs can be not exists on computer. In this case there are downloading libs from ftp, and then starting Chromium.
In CEF, when executing GlobalCEFApp.StartMainProcess without libs, we catching error 'CEF libraries is missing'.
In documenation, StartMainProcess must be called only on .dpr before Application.Initialize.
How we can call StartMainProcess after special event in our program, for example - on button click? We dont have necessary have necessity to store CEF libraries for each copy of our program, only when the user need it.