home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4760 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  966 b 

  1. Path: sparky!uunet!mcsun!sun4nl!dutrun!et.tudelft.nl!cornelis_k
  2. From: cornelis_k@et.tudelft.nl
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: How to wait for end-of-process?
  5. Message-ID: <1993Jan8.162038.427@et.tudelft.nl>
  6. Date: 8 Jan 93 16:20:38 +0100
  7. Organization: TU-Delft, dpt of Electrical Engineering
  8. Lines: 19
  9.  
  10. I want to make an application which uses another process
  11. (a DOS-application doing some heavy calculations). The
  12. Windows-app must execute the DOS-app, wait for it to be 
  13. finished and read the results from a file. The difficult
  14. part for me is waiting for the DOS-app to be finished.
  15. How can I realise this?
  16.  
  17. I am using Turbo Pascal for Windows 1.5, but if someone
  18. knows the answer in C++, that could also help. 
  19.  
  20. Is it possible to identify running processes? Or must I
  21. in some way look for the window in which it is running?
  22.  
  23. Any help would be greatly appreciated, please reply
  24. to r.p.essenius@et.tudelft.nl
  25.  
  26. Thanks in advance,
  27.  
  28. Rik Essenius
  29.