-
Modal application
I know you can in dos programs call an
application with system() and other functions and
it will block your current program, but I would
like to know how to do this with a Windows
application.
I need to start a dos program and block the current program until the dos program is finished to be able
-
Re: Modal application
If you run your program using CreateProcess function, you'll get ProcessID.
Then call function WaitForSingleObject(ProcessID, INFINITE)
Maybe, I'm wrong.
Thanks,
Ilgar Mashayev