Question:

How to open internet explorer from a c++ program?

by  |  earlier

0 LIKES UnLike

I wnat to open internet explorer form my c++ program and display an html document. do I use the system() function, or is therea better way?

 Tags:

   Report

2 ANSWERS


  1. system() would be a good option to use. I've done more unix/linux programming than Windows (thankfully) so I'm not sure what other standard library options there are.

    exec() is a unix standard, so I'm not sure it is available on Windows.


  2. Er, aren't System() and Exec() C functions?  Well, I don't know if there are any C++ specific classes for program execution, but you can use the C _exec() or _spawn() functions.  They're both the same functions, but with different names.  Actually, there are several _exec() & _spawn() functions.  Remember to #include the process.h header.

    http://msdn.microsoft.com/en-us/library/...

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions