使用 XULRunner 的嵌入式浏览器

发布于 2024-08-23 12:25:34 字数 511 浏览 3 评论 0原文

有没有使用 XULRunner 将浏览器控件嵌入到应用程序中的示例? (对于本机 win32 应用程序最好用 c 或 c++ 编写)

我尝试过 QT、wxWidgets、Awesomium、chromeEmbedded、LLmozLib、midori 和 Embedding/NewApi/Win32

最好的是 wxWebConnect(它是 wxWidgets 框架的一部分)。为什么,因为你不需要整个 mozilla 代码库来构建它,加上实际的浏览器控件是完美的,因为在插件工作中,所有内容都正确呈现(gmail、youtube 等)

那么我的问题是什么?那么wxWebConnect使用XULRunner嵌入浏览器控件,我的应用程序是本机win32应用程序而不是wxWidgets应用程序。我在网络上搜索了如何使用 XULRunner 将 gecko 浏览器嵌入到本机 win32 应用程序中的另一个示例。但不幸的是!

有人知道只使用 XULRunner 而不需要整个 mozilla 源代码树的项目/​​代码吗?

谢谢。

Are there any examples of to use XULRunner to embed the browser control inside a app? (preferably in c or c++ for native win32 apps)

I have tried QT, wxWidgets, Awesomium, chrome embedded, LLmozLib, midori and Embedding/NewApi/Win32

The best one is wxWebConnect (which is part of wxWidgets framework). Why, cause you don't need the whole mozilla code base to build it plus the actual browser control is perfect as in plugins work, everything is rendered correctly (gmail, youtube etc etc)

So what's my problem or question? Well the wxWebConnect uses XULRunner to embed the browser control, my application is native win32 app and not wxWidgets app. I've searched the net to find another example of how use XULRunner to embed the gecko browser in native win32 apps..without luck!

Anyone know of projects/code that just use XULRunner and not require the entire mozilla source tree?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

漫漫岁月 2024-08-30 12:25:34

上有基于 XULRunner 的应用程序列表

https://developer.mozilla.org/en/XULRunner_Hall_of_Fame

There's a list of XULRunner-based applications at

https://developer.mozilla.org/en/XULRunner_Hall_of_Fame

追星践月 2024-08-30 12:25:34

无论您使用 wxWebConnect 还是直接嵌入 XULRunner,您仍然会将 XULRunner 引擎及其文件夹层次结构作为应用程序部署的一部分。这就是野兽的本性。

Whether you use wxWebConnect or embed XULRunner directly you are still going to have as part of your applications deployment the XULRunner engine and it's folder hierarchy. That's the nature of the beast.

美煞众生 2024-08-30 12:25:34

如果您可以使用 .NET,请尝试 GeckoFX。查看 GeckoFX 代码可能还会为您提供足够的见解,以便将 xulrunner 嵌入到您的本机 C++ Win32 应用程序中。

Try GeckoFX, if you are okay with using .NET. Looking at the GeckoFX code might also give you enough insights to embed xulrunner in your native C++ Win32 app.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文