🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2617

How to wait for end-of-process?

#2617
From: cornelis_k
Date: Fri, 08 Jan 1993 15:20
19 lines
994 bytes
I want to make an application which uses another process
(a DOS-application doing some heavy calculations). The
Windows-app must execute the DOS-app, wait for it to be 
finished and read the results from a file. The difficult
part for me is waiting for the DOS-app to be finished.
How can I realise this?

I am using Turbo Pascal for Windows 1.5, but if someone
knows the answer in C++, that could also help. 

Is it possible to identify running processes? Or must I
in some way look for the window in which it is running?

Any help would be greatly appreciated, please reply
to r.p.essenius@et.tudelft.nl

Thanks in advance,

Rik Essenius
Technical Details
Message-ID: <1993Jan8.162038.427@et.tudelft.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!et.tudelft.nl!cornelis_k

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!dutrun!et.tudelft.nl!cornelis_k
From: cornelis_k@et.tudelft.nl
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How to wait for end-of-process?
Message-ID: <1993Jan8.162038.427@et.tudelft.nl>
Date: 8 Jan 93 16:20:38 +0100
Organization: TU-Delft, dpt of Electrical Engineering
Lines: 19