Page 1 of 1

EExternalException in DllBrowser

Posted: Mon Oct 11, 2021 8:56 pm
by MichaelEbner
Downloading CEF4Delphi this evening (94.4.9) and downloading Binarys also (cef_binary_94.4.9+g09ee681+chromium-94.0.4606.71_windows32) hasn't fix the problem.

When I start CEF4Delphi loader, click on 1. Initialize and then 2. Show browser, I get 2 (!) EExternalException in Modul libcef.dll 032627FF, External Exception 80000003.

Any ideas?

Re: EExternalException in DllBrowser

Posted: Mon Oct 11, 2021 8:59 pm
by MichaelEbner
Image

Re: EExternalException in DllBrowser

Posted: Tue Oct 12, 2021 7:21 am
by salvadordf
Hi,

I just tried that demo on Windows 10 with Delphi 11 and I can't reproduce that error.

Did you open the DLLBrowserGrp.groupproj file and used the Project -> Build All Projects menu option ?

Re: EExternalException in DllBrowser

Posted: Tue Oct 12, 2021 11:21 am
by MichaelEbner
Did you open the DLLBrowserGrp.groupproj file and used the Project -> Build All Projects menu option ?
Did it now and it makes no difference. (Before build all seperately)

Delphi 10.2, Windows 10, same problem on two different PCs.

Same problem with 32 Bit and 64 Bit. (But with 64 Bit the Messages comes immedately, with 32 Bit it needs between 1 and 2 seconds)

Re: EExternalException in DllBrowser

Posted: Tue Oct 12, 2021 12:37 pm
by salvadordf
Are you using the CEF binaries found in the Release and Resources directories ?

Check that all the files in those directories are copied in the "CEF4Delphi\bin". It should look like this :
Image

Have you tried other demos like SimpleBrowser2 ?
It's been a long time since I used Delphi 10.2 and this could also be some kind of issue with that Delphi version. If this is the case and other demos also crash then you should be able to debug the error much more easily.

It would be helpful if you could post the contents of the debug log. Add uCEFConstants to "uses" and also add these code lines before the GlobalCEFApp.StartMainProcess call in DLLBrowser.dpr.

Code: Select all

  GlobalCEFApp.LogFile              := 'debug.log';
  GlobalCEFApp.LogSeverity          := LOGSEVERITY_INFO;
These lines should create a debug.log file inside "CEF4Delphi\bin".

Re: EExternalException in DllBrowser

Posted: Wed Oct 13, 2021 12:42 pm
by MichaelEbner

Code: Select all

Are you using the CEF binaries found in the Release and Resources directories ?
Ok, that's the error - I've used Debug and Resources.

Re: EExternalException in DllBrowser

Posted: Wed Oct 13, 2021 7:42 pm
by MichaelEbner
Tank you for your support (Donation via PayPal is on its way...)

Re: EExternalException in DllBrowser

Posted: Thu Oct 14, 2021 7:29 am
by salvadordf
Thank you very much for your donation Michael! :D

I recently had to replace the CPU in order to upgrade to Windows 11 to test new CEF4Delphi versions in that OS and your donation will be extremely useful.

This has brighten up my day. Thanks again! :)