Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: RE: WaitForSingleObject( ) - Not waiting for Some Shelle d programs


Message #1 by "Yehuda Rosenblum" <Yehuda@I...> on Fri, 14 Jun 2002 09:04:35 -0400
Hi All,
 I'm want to execute a setup program from my VB application. I use the 
CreateProcess API function and WaitForSingleObject WIN API function to 
accomplish this. When I execute notepad.exe, the WaitForSingleObject 
function waits untill I close the notepad. But when I'm executing the 
required exe(the command line is "E:\Ora_Dump815\INSTALL\WIN32\setup.exe") 
the WaitForSingleObject function is not waiting for the setup to finish or 
exit.
 Please helpme with this.

Thanks
TOM.

  Return to Index