nbaztec
August 13th, 2009, 03:38 AM
Hi all,
I wanna know say I opened an exe using ShellExecute(), and now I wanna wait till its finished closing how can I do this.
//I can do upto here only
HWND H;
H=ShellExecute(MainWindow,"open","Dummy.exe",NULL,NULL,SW_SHOW);
//After this i dnt know what to do
[Test if H has closed] ???
Thanks,
Nisheeth
I wanna know say I opened an exe using ShellExecute(), and now I wanna wait till its finished closing how can I do this.
//I can do upto here only
HWND H;
H=ShellExecute(MainWindow,"open","Dummy.exe",NULL,NULL,SW_SHOW);
//After this i dnt know what to do
[Test if H has closed] ???
Thanks,
Nisheeth