TEdgeBrowser 控件不显示,有人试过吗?

winszhang 2020-06-07 05:56:10
直接用:
EdgeBrowser1->Navigate("**************");
根本没反映
相同的方法Cppwebbrowser就可以
...全文
535 3 打赏 收藏 举报
写回复
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
我来看看CB 2020-07-13
错误代码-2147467259
  • 打赏
  • 举报
回复
我来看看CB 2020-07-13
EDGE 和chrome都安装了。 WideString sdf = "https://www.baidu.com/"; // EdgeBrowser1->Navigate(sdf.c_bstr()); EdgeBrowser1->Navigate(sdf); 看不到网页。
  • 打赏
  • 举报
回复
winszhang 2020-06-07
在官网找到了: Preparing to use the Edge Browser component Because TWebBrowser uses the Operating System-supplied Internet Explorer WebBrowser browser control there is no preparation required; it will work wherever Windows has the Internet Explorer control available. On the contrary, Microsoft Edge is not an Operating System component at the time. Because of this you need to ensure that these items are installed on your computer before you can run an application that uses it: The Microsoft Edge Chromium-based browser currently available from https://www.microsoftedgeinsider.com/download (Canary channel version whilst the WebView2 SDK is in pre-release, currently the minimum required version is 82.0.430.0). The WebView2 control, currently available through NuGet at https://www.nuget.org/packages/Microsoft.Web.WebView2 or via GetIt package manager. This applies to compiling and executing the application on your development machine, and also on the end user’s machine. With both these installed, the TEdgeBrowser will function and use the Edge WebView2 browser control to render web content.
  • 打赏
  • 举报
回复
相关推荐
发帖
VCL组件使用和开发

593

社区成员

C++ Builder VCL组件使用和开发
社区管理员
  • VCL组件使用和开发社区
加入社区
帖子事件
创建了帖子
2020-06-07 05:56
社区公告
暂无公告