VCL SimpleBrowser Demo does not compile

Post Reply
mdanninger
Posts: 3
Joined: Mon Jul 08, 2019 6:08 pm

VCL SimpleBrowser Demo does not compile

Post by mdanninger » Mon Jul 08, 2019 8:18 pm

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

User avatar
salvadordf
Posts: 1950
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: VCL SimpleBrowser Demo does not compile

Post by salvadordf » Tue Jul 09, 2019 9:03 am

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

mdanninger
Posts: 3
Joined: Mon Jul 08, 2019 6:08 pm

Re: VCL SimpleBrowser Demo does not compile

Post by mdanninger » Tue Jul 09, 2019 5:25 pm

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.

Post Reply