Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: What version is the TWebBrowser component that comes with Seattle?



Permlink Replies: 3 - Last Post: Feb 16, 2016 4:27 AM Last Post By: Dave Nottage
Trevor Powell

Posts: 4
Registered: 8/31/02
What version is the TWebBrowser component that comes with Seattle?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2016 2:28 AM
I am trying to create a Web browser application in Seattle 10 Enterprise

Most simple pages operate OK

However, when I tried to browse to a page (https://graphhopper.com/maps), I got a heap of errors, some possibly Javascript related:

Error: Unable to get property 'prototype' of undefined or null reference
URL: https://graphhopper.com/maps/js/main.js?v=0.6.2

This URL works perfectly in other browsers, (e.g. Firefox, IE)

Trying to navigate to http://maps.google.com
and it gives the error: 'object does not support property or method 'ldb'

Then I get a google generated message:
"It looks like you have enabled Internet Explorer Compatibility View. Google Maps will not work correctly unless this is turned off."
Clearly, I haven't enabled compatibility view

This made me wonder if the TWebBrowser component is still IE8 or something very outdated.

Any ideas, or any suggestions on creating a decent integrated browser?
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: What version is the TWebBrowser component that comes with Seattle? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2016 10:39 PM   in response to: Trevor Powell in response to: Trevor Powell
Trevor Powell wrote:

Clearly, I haven't enabled compatibility view

This made me wonder if the TWebBrowser component is still IE8 or something very outdated.

http://stackoverflow.com/questions/25843845/how-to-have-delphi-twebbrowser-component-running-in-ie9-mode

--
Dave Nottage [TeamB]
Delphi Worlds blog: http://delphi.radsoft.com.au/blog
Trevor Powell

Posts: 4
Registered: 8/31/02
Re: What version is the TWebBrowser component that comes with Seattle? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 16, 2016 1:48 AM   in response to: Dave Nottage in response to: Dave Nottage
Thank you for referencing a stackoverflow thread that I've previously reviewed.
'
Does Embarcadero / Delphi / TeamB have an internal solution, or do I keep reviewing these external workaround 'suggestions', that appear to be rather unproven / unscientific?

I was really expecting a 'native' solution in Seattle 10. Don't get me wrong, I appreciate the assistance, but I was hoping someone could provide more detailed feedback beside a link to another web site.

Regards

Dave Nottage wrote:
Trevor Powell wrote:

Clearly, I haven't enabled compatibility view

This made me wonder if the TWebBrowser component is still IE8 or something very outdated.

http://stackoverflow.com/questions/25843845/how-to-have-delphi-twebbrowser-component-running-in-ie9-mode

--
Dave Nottage [TeamB]
Delphi Worlds blog: http://delphi.radsoft.com.au/blog
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: What version is the TWebBrowser component that comes with Seattle? [Edit] [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 16, 2016 4:27 AM   in response to: Trevor Powell in response to: Trevor Powell
Trevor Powell wrote:

Does Embarcadero / Delphi / TeamB have an internal solution, or do I keep reviewing these external workaround
'suggestions', that appear to be rather unproven / unscientific?

The workaround in the link works on my Windows 8 system (IE 11). I added a DWord value of 11001 (hexadecimal
0x00002af9) for my test project (which is named Project1.exe)

I was really expecting a 'native' solution in Seattle 10. Don't get me wrong, I appreciate the assistance, but I was
hoping someone could provide more detailed feedback beside a link to another web site.

The solution is native. For Windows, TWebBrowser uses whatever is the installed version of IE. It can't "use an
outdated" version if there isn't one on the system.

The problem isn't just restricted to Delphi. Anything that embeds IE, eg from an MFC app, has the same issue, and the
same solution:

http://stackoverflow.com/questions/31213130/ie8-breaks-compatibility-view-if-embedded-as-an-activex

(refer to Lance Leonards comment on the question)

--
Dave Nottage [TeamB]
Delphi Worlds blog: http://delphi.radsoft.com.au/blog
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02