Page 1 of 1

Path to CEF library

Posted: Thu Oct 10, 2019 2:39 pm
by thefunkyjoint
Hello,

By default CEF4Delphi looks for CEF DLLs on the same path the application EXE is running.

Is there a way to define another path for the CEF DLLs ?

Thanks

Re: Path to CEF library

Posted: Thu Oct 10, 2019 3:00 pm
by salvadordf
Set this properties before the GlobalCEFApp.StartMainProcess call :

Code: Select all

  GlobalCEFApp.FrameworkDirPath     := 'c:\cef';
  GlobalCEFApp.ResourcesDirPath     := 'c:\cef';
  GlobalCEFApp.LocalesDirPath       := 'c:\cef\locales';
Replace "c:\cef" with your directory with the CEF binaries.

Re: Path to CEF library

Posted: Thu Oct 10, 2019 4:03 pm
by thefunkyjoint
Thank you !