
waiting for external program to finish (modally)
Hello
I want to execute a program and wait for it it finish before continuing.
I have successfully got the program to load, run and a loop in a dll , and
wait for getmoduleusage ==0. Unfortunately the getmessage(msg,null,0,0) etc
in the loop passes messages onto all windows, thus rendering my solution an
unsolution.
Is it possible to only pass messages on to the shelled application and not
have the system freeze?
I found the 32 bit createprocess,waitforsingleevent methods, but need to
implement this in win3.1.
Thanks
Kurt