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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
Hello!
When I use demo like minibrowser....the GlobalCEFApp.FlashEnabled:= True...
a black console window will flashed and then disappear after 1 or 2 seconds...
it ugly for me
I find that BriskBard browser not show this ugly window.... How can i do the same thing using cef4delphi
Flash shows a DOS box with the message NOT SANDBOXED whenever you try to use their plugin in a non sandboxed browser. This is a bug in the Flash plugin.
Creating a sandboxed browser requires, among other things, to add cef_sandbox.lib into the executable but that's not easy for Delphi apps and I'm not sure it would be legal to do it in anything that is not distributed under the GPL license.
You could modify the flash plugin but antivirus software might not like that and it could cause legal problems.
The solution for now is to hook and intercept those calls with the Detours library or wait till 2020 when Adobe will discontinue the Flash plugin.
Thanks,Finally,I choose the modify flash to solve this problem....because this app is just used for myself inner....
hook maybe conflict with other code...and cause other problem....so i give up it .
It's hard to tell what's causing this but it could be a Detours library bug, a virus infection, operating system corruption, outdated graphics drivers, hardware problems...