Page 1 of 1

VCL SimpleBrowser Demo does not compile

Posted: Mon Jul 08, 2019 8:18 pm
by mdanninger
Just downloaded the CEF4Delphi-master and tried to compile the VCL SimpleBrowser Demo with target Win32. There is a parameter mismatch at line 139. ( ChromiumWindow1.ChromiumBrowser.OnBeforePopup := Chromium_OnBeforePopup; )

After commenting out this line i was able to compile the demo, but it did not start because of missing binaries (d3dcompiler_43.dll). There is a d3dcompiler_47.dll in my bin directory. Since the FMX SimpleBrowser compiles without errors and starts without problems in the same bin directory i think the correct files are there.

Does the VCL SimpleBrowser demo use other binaries as the FMX demo does?

Thanks for support in advance,
Michael

Re: VCL SimpleBrowser Demo does not compile

Posted: Tue Jul 09, 2019 9:03 am
by salvadordf
Hi,

d3dcompiler_43.dll was removed from the CEF binaries and the latest CEF4Delphi version doesn't check if it exists before running the demos.

You need to uninstall CEF4Delphi completely and install it again because some old BPL or DCU file is still present in your system. Read this post :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=772#p3481

Re: VCL SimpleBrowser Demo does not compile

Posted: Tue Jul 09, 2019 5:25 pm
by mdanninger
Thanks for your support and your great work.
I had old cef.. files on my searchpath. After removing then from the searchpath everything worked fine.