how can I launch another application( like notepad.exe ) in my VC
-
I want launch another application, like notepad.exe or xxx.bat, in my VC application. I knew there is API can do it. but after searching on Web I could not find it. Please tell me what API is it. Thank you. Richard
One way is to use CreateProcess()[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ "Thanks,I overlooked the docs."
-
One way is to use CreateProcess()[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ "Thanks,I overlooked the docs."
-
Yeah - I chose the first link I saw that had info on running both exes and batch files ;P Cheers, MArk
Mark Salsbery Microsoft MVP - Visual C++ "Thanks,I overlooked the docs."
-
I want launch another application, like notepad.exe or xxx.bat, in my VC application. I knew there is API can do it. but after searching on Web I could not find it. Please tell me what API is it. Thank you. Richard
See the FAQ 6.4 How do I run another program from my program?[^]
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
See the FAQ 6.4 How do I run another program from my program?[^]
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
Or you can use of
WinExec
.
WhiteSky