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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Path to CEF library

Post Reply
thefunkyjoint
Posts: 513
Joined: Thu Aug 10, 2017 12:40 pm

Path to CEF library

Post 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
User avatar
salvadordf
Posts: 4565
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Path to CEF library

Post 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.
thefunkyjoint
Posts: 513
Joined: Thu Aug 10, 2017 12:40 pm

Re: Path to CEF library

Post by thefunkyjoint »

Thank you !
Post Reply