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

winszhang 2020-06-07 05:56:10
直接用:
EdgeBrowser1->Navigate("**************");
根本没反映
相同的方法Cppwebbrowser就可以
...全文
851 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
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.

604

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder VCL组件使用和开发
社区管理员
  • VCL组件使用和开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧