• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1397
  • Last Modified:

Best embedded browser for C/C++

I am considering using an embedded browser in a C/C++ application as a user interface.

Can anyone recommend a good browser for this use and explain why the one you suggest is a good choice.

Thank you!
0
anAppBuilder
Asked:
anAppBuilder
  • 2
  • 2
1 Solution
 
tampnicCommented:
Webkit can be embedded into a c++ application with a bit of work - see https://github.com/bfulgham/CallJS for an example.

Many frameworks also provide browser controls e.g. MFC has the WebBrowser control, Qt has the WebView control, wxWidgets has a couple of options you can use. There is a Chrome Frame ActiveX control, or the old faithful iFrame and all its attendant memory leaks,

I have only used webkit (not in C++ but Java on an Android-based system) and found it a bit buggy for my liking, but then I was interfacing with  complex Flash objects produced by a 3rd party app and Flash isn't exactly the most solid platform either. The project was abandoned due to bugs in webkit and Flash which weren't getting fixed anytime soon.

In summary there are very many options, none of them without their faults and foibles. Is HTML5 compatibility an issue for you for instance?

If you are looking for a web-type UI why not design the system as a web application? PHP is very easy to get started with if you're familiar with C++, or just use C++ cgi scripts. Is there any particular reason in your spec why not?

Cheers,
   Chris
0
 
anAppBuilderAuthor Commented:
Thank you, Chris, for sharing your experience with Webkit.

Yes, HTML5 is a requirement.

There are a number of reasons why we prefer not to create a web app.  Therefore we want to investigate all the other options.
0
 
tampnicCommented:
A bit of googling suggests that either http://en.wikipedia.org/wiki/Chromium_Embedded_Framework or https://bitbucket.org/geckofx support most of the HTML5 spec. I know GeckoFX requires .NET ... are you happy including .NET in the dependencies of your app? I'm assuming you are targeting a Windows platform, Mono is available for Linux as a .NET substitute.

Cheers,
  Chris
0
 
anAppBuilderAuthor Commented:
Thanks again, Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now