Out of curiosity, is it possible to run code to run an application like notepad?
Opening Common File Dialogs
Collapse
X
-
The system() function is included in either the iostream header file or the std namespace (I suspect the namespace). You pass the function a CString, and the function does the work to execute the command prompt equivalent of your string.
So basically, if I wanted to run MyProg.exe in the same folder as my C++/C program, I could use the statement:
This would be the equivalent of entering "MyProg.exe " into a DOS Command Prompt window.Code:system("MyProg.exe");Comment
-
Comment