Is there a solid way to invoke MS Internet Explorer, that will work on multiple versions of Windows, from within an ANSI C application, to open a specific html file? Is "createprocess" the best bet?
Thanks!
This is a discussion on Invoke IE within the Windows Programming forums, part of the Platform Specific Boards category; Is there a solid way to invoke MS Internet Explorer, that will work on multiple versions of Windows, from within ...
Is there a solid way to invoke MS Internet Explorer, that will work on multiple versions of Windows, from within an ANSI C application, to open a specific html file? Is "createprocess" the best bet?
Thanks!
> Is "createprocess" the best bet?
Probably, but then it wouldn't be ANSI-C as such (making use of a non ANSI function).
Though you might consider ShellExecute() as well, which would invoke the user preferred browser and not just IE.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
Thanks much for the suggestion. ShellExecute fits my needs to a T.