I am currently using CreateProcess / WaitForSingleObject from a win32 GUI application to launch a small graphical application that deals with software licensing issues. All this works fine, but the “parent” application basically hangs while it expects the licensing application to complete its work. During this time, the parent application does not update, and it ends with ugly white squares if the utility application window moves.
Also, for some strange reason, while the utility application is working, if I copy something from this application to the clipboard, it is HANGS. I still do not understand why, but this only happens if I wait for the application to end from the parent application.
So, I think that if I can get the parent application to process its events while waiting for the completion of my other application, this can solve both problems.
So, is there a replacement for CreateProcess / WaitForSingleObject that also handles UI updates?
Paul miller
source
share