Solved

Best embedded browser for C/C++

Posted on 2013-11-19
4
761 Views
Last Modified: 2013-11-22
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
Comment
Question by:anAppBuilder
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:tampnic
Comment Utility
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
 

Author Comment

by:anAppBuilder
Comment Utility
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
 
LVL 7

Accepted Solution

by:
tampnic earned 500 total points
Comment Utility
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
 

Author Closing Comment

by:anAppBuilder
Comment Utility
Thanks again, Chris
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now