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.
exit application , then it stop worke ,error
Re: exit application , then it stop worke ,error
@lyns, you need to give us more details about your application. Can you reproduce it in a demo project?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: exit application , then it stop worke ,error
Hi,
I updated CEF4Delphi a few hours ago. Please, test it with your application.
If you still see that error give us more details about your application and what you were doing when you saw that error.
I updated CEF4Delphi a few hours ago. Please, test it with your application.
If you still see that error give us more details about your application and what you were doing when you saw that error.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: exit application , then it stop worke ,error
Yes, it's recommended to follow these steps :
In case you still have problems with the new CEF4Delphi, please tell us what Windows and Delphi version you are using.
- Run Delphi.
- Select the menu "Component" -> "Install Packages..."
- Select CEF4Delphi from the list and click on the "Remove" button.
- Click the "Ok" button and close Delphi.
- Delete the old CEF4Delphi directory and decompress the new CEF4Delphi in the same place.
- Run Delphi and follow the installation instructions available here https://www.briskbard.com/index.php?lang=en&pageid=cef
In case you still have problems with the new CEF4Delphi, please tell us what Windows and Delphi version you are using.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: exit application , then it stop worke ,error
Please, try the new CEF4Delphi version and use CEF binaries indicated in announcement :
You can send a link to that GIF in this forum or send it using the email addresses found in the "CONTACT" section at www.briskbard.com
Have a great time at the festival!
- 32bit -> http://opensource.spotify.com/cefbuilds ... 32.tar.bz2
- 64bit -> http://opensource.spotify.com/cefbuilds ... 64.tar.bz2
You can send a link to that GIF in this forum or send it using the email addresses found in the "CONTACT" section at www.briskbard.com
Have a great time at the festival!

- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: exit application , then it stop worke ,error
Hi Lyns,
I saw your GIFs and it seems that you need to follow the destruction sequence described in the "ToolBoxBrowser" demo.
The ToolBoxBrowser demo also has child forms with browsers but it waits until all the child forms are correctly closed before closing the main form.
Read the code comments in uMainForm and uChildForm :
https://github.com/salvadordf/CEF4Delph ... inForm.pas
https://github.com/salvadordf/CEF4Delph ... ldForm.pas
You need to follow this steps to destroy your child forms :
I saw your GIFs and it seems that you need to follow the destruction sequence described in the "ToolBoxBrowser" demo.
The ToolBoxBrowser demo also has child forms with browsers but it waits until all the child forms are correctly closed before closing the main form.
Read the code comments in uMainForm and uChildForm :
https://github.com/salvadordf/CEF4Delph ... inForm.pas
https://github.com/salvadordf/CEF4Delph ... ldForm.pas
You need to follow this steps to destroy your child forms :
Code: Select all
// 1. The FormCloseQuery event sets CanClose to False and calls TChromiumWindow.CloseBrowser, which triggers the TChromiumWindow.OnClose event.
// 2. The TChromiumWindow.OnClose event calls TChromiumWindow.DestroyChildWindow which triggers the TChromiumWindow.OnBeforeClose event.
// 3. TChromiumWindow.OnBeforeClose sets FCanClose to True and closes the form.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: exit application , then it stop worke ,error
What Delphi version are you using ?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: exit application , then it stop worke ,error
I don't have that version but I tested the ToolBrowser in Delphi 10.2 about 30 times inside a virtual machine and in a normal Windows 7 PC.
I couldn't reproduce your error with the latest CEF4Delphi version.
Please, download the latest CEF4Delphi version from GitHub and try the ToolBrowser demo again.
https://github.com/salvadordf/CEF4Delphi
Modify the URL for the tests if necessary.
I couldn't reproduce your error with the latest CEF4Delphi version.
Please, download the latest CEF4Delphi version from GitHub and try the ToolBrowser demo again.
https://github.com/salvadordf/CEF4Delphi
Modify the URL for the tests if necessary.