Re: Win32 ShellExecute
- Posted by tone.skoda at gmx.net Oct 28, 2002
- 432 views
Take a look at file process.ew included in IDE. ----- Original Message ----- From: <paulp at sugardog.com> To: "EUforum" <EUforum at topica.com> Subject: Win32 ShellExecute > > I am using the win32 ShellExecute function to run a win32 console > program in a hidden window from a gui program the console program writes > to a file when finished. I am currently using Euwingui > with my own ShellExecute function because Euwingui does not have a > hidden shell execute. > This works correctly but the calling program does not know when the > called program has finished. I am currently using a loop and the dir > function which checks for the existance of the filename and a filesize > greater than zero. I would like to have a better way to check if the > called program has finished and exited. The loop method could possibly > get stuck in an endless loop. > > > >