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 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.
Thanks much for the suggestion. ShellExecute fits my needs to a T.