我如何在GUI应用程序中嵌入firefox? [英] How can I embed firefox in a GUI application?

查看:138
本文介绍了我如何在GUI应用程序中嵌入firefox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人以他们自己的[非托管] C / C ++ GUI应用程序嵌入Firefox浏览器技术,就像IE可以作为COM对象一样嵌入? (我想在Linux上这样做,而不是Windows)。有没有更好的Firefox替代品?只要我可以使用非GPL代码,我就可以开放任何东西。我的需求是相当基础的。我只需要基本的HTML解析和静态本地文件的显示,但如果我能得到它,我会利用更复杂的技术。我希望能够使用JavaScript,但我可以没有它。

解决方案

首先你需要区分HTML引擎和JavaScript引擎。


Has anyone ever embedded the firefox web browser technology in their own [unmanaged] C/C++ GUI application in the same way that IE can be embedded as a COM object? (I would like to do this on Linux, not Windows). Are there "better" alternatives to firefox? I'm open to anything as long as I can use it with non-GPL code. My needs are fairly basic; I only need fundamental HTML parsing and display of static local files, but I'd take advantage of more sophisticated technology, if I can get it. I'd like to be able to use JavaScript, but I can get by without it.

解决方案

First you need to differentiate between HTML engine and JavaScript Engine.

这篇关于我如何在GUI应用程序中嵌入firefox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆