How do I install the Chromium package in Delphi?

1

I was using the TWebBrowser component which is based on Internet Explorer, however I have noticed that it runs the HTML5 pages in a disfigured way, I heard about the FireFox package, but it did not run in Delphi and was shown to be very heavy, so my last alternative was the Chromium package.

    
asked by anonymous 18.08.2015 / 00:28

1 answer

1

Regardless of the version of IE that you have in the windows machine will always use IE6 inside any desktop application that you put a webbrowser. That means you will not have multiple media that the newer versions of IE have, such as JQuery or even Json support. To solve this problem you must make a change in the windows registry for your executable, saying you want to use the most current version of the browser. Create a .reg file with the following structure:

  

REGEDIT4

     

[HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main \ FeatureControl \ FEATURE_BROWSER_EMULATION]   "MyExecutavel.exe" = dword: 0

I already used chromium in Delphi as an alternative to a couple of years ago, and it was soooo unstable.

    
18.08.2015 / 18:20