EExternalException in DllBrowser

Post Reply
MichaelEbner
Posts: 4
Joined: Mon Oct 11, 2021 8:48 pm

EExternalException in DllBrowser

Post 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?
MichaelEbner
Posts: 4
Joined: Mon Oct 11, 2021 8:48 pm

Re: EExternalException in DllBrowser

Post by MichaelEbner »

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

Re: EExternalException in DllBrowser

Post 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 ?
MichaelEbner
Posts: 4
Joined: Mon Oct 11, 2021 8:48 pm

Re: EExternalException in DllBrowser

Post 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)
Last edited by MichaelEbner on Tue Oct 12, 2021 11:32 am, edited 2 times in total.
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: EExternalException in DllBrowser

Post 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".
MichaelEbner
Posts: 4
Joined: Mon Oct 11, 2021 8:48 pm

Re: EExternalException in DllBrowser

Post 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.
MichaelEbner
Posts: 4
Joined: Mon Oct 11, 2021 8:48 pm

Re: EExternalException in DllBrowser

Post by MichaelEbner »

Tank you for your support (Donation via PayPal is on its way...)
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: EExternalException in DllBrowser

Post 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! :)
Post Reply