|
Question : MFC: starting an external program
|
|
How can I start an external .exe file from within my MFC app, passing command line arguments as needed?
Thanks, Sternocera
|
|
Answer : MFC: starting an external program
|
|
Use the CreateProcess() API.
You can pass in command line args to this function, and have your program wait until it ends before continuing.
|
|
|
|