.net 4.0 - Wait for Handle to be set when using Process.Start -
i'm using process.start
start console app app. after it's started want use p/invoke set title of window.
my problem after starting process mainwindowhandle
0. if wait bit handle gets set.
i know use waitforidleinput
if wasn't console app, do if is?
my fall sleep, or loop waits until mainwindowhandle set, there better way?
Comments
Post a Comment