I am upgrading a Delphi 1 app to D4 and need to know when an outside program
has finished.
My code snippet was -
ProgramHandle := WinExec(Batch,sw_ShowMaximized);
...
...
while GetModuleUsage(ProgramHandle) <> 0 {wait till program
terminated before continuing}
do Application.processmessages;
- but GetModuleUsage has been long forgotten in the help and I don't know
how to replace it.
Geoff Jenkins
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz