> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nahum Wild
> Sent: Friday, 17 September 1999 16:19
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: ShellExecute
snip
> WaitforSingleObject(ProcessInfo.hProcess, INFINITE);
While your app is waiting for the process state to become signalled it will
be unresponsive. A better way of implementing this is
repeat
Application.ProcessMessages;
until WaitForSingleObject(ProcessInfo.hProcess,0)=WAIT_OBJECT_0;
============================================
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz