Does TWebBrowser updates with IE?

老子叫甜甜 提交于 2019-12-10 23:33:44

问题


I use TwebBrowser in a D7 app. The question is: When I upgrade my IE this component will use the new IE to render the pages?


回答1:


Yes.

TWebBrowserinside of the SHDocVw unit internally creates a IWebBrowser2OLE control.

And this interface uses the the installed Internet Explorer (as described here).




回答2:


Yes it does.

When it's created, it requests the system for an instance of the object that is currently configured to implement IWebBrowser2 ({0002DF01-0000-0000-C000-000000000046}) which will point to the version of IE currently installed.

Not that there is a lot of choice: you cannot have several versions of IE installed side-by-side.

it doesn't mean it will behave exactly the same between versions, though.



来源:https://stackoverflow.com/questions/2467077/does-twebbrowser-updates-with-ie

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!