I am using c++ in borland development studio to launch a process. After the process is launched, the parent application is supposed to wait for it, but still keep processing windows messages.
I tried using spawnl with P_WAIT after launching a timer, but timer wont fire when thread is blocked, i also tried using spawnl with P_NOWAIT together with cwait, but that didnt work either.
any suggestions ?
many thanks