Code: Select all
wxExecute("help\\documentation.chm");
Code: Select all
wxExecute(".\\help\\documentation.chm");
Code: Select all
wxExecute("help\\documentation.chm");
Code: Select all
wxExecute(".\\help\\documentation.chm");
Code: Select all
// ...
const char *helpFile = "help\\documentation.chm";
bool executed = wxShell(helpFile);
if ( !executed )
wxLogDebug( wxString::Format(wxT("Failed to open \"%s\""), helpFile) );
// ...
so, you know "documentation.chm" isn't a execution samplebool wxShell ( const wxString & command = wxEmptyString )
Executes a command in an interactive shell window.
If no command is specified, then just the shell is spawned.
See Also
wxExecute(), External Program Execution Sample
Include file:
#include <wx/utils.h>
Things being equal, the simplest explanation tends to be the right.