.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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -