?
Solved

Best embedded browser for C/C++

Posted on 2013-11-19
4
Medium Priority
?
1,029 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:tampnic
ID: 39663237
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
ID: 39666466
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 2000 total points
ID: 39668407
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
ID: 39670891
Thanks again, Chris
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

800 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