🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
1 messages
1 total messages Started by Clarence Din Tue, 21 Jul 1992 17:25
Help with WinExec !
#17
Author: Clarence Din
Date: Tue, 21 Jul 1992 17:25
25 lines
1331 bytes
In my C program, I have some code as follows:

...
...
commands
...

WinExec ("whatever", SW_HIDE);

more commands

"whatever" is a DOS program of which I had set up a PIF file (set to
Exclusive Execution).  "whatever" is a program which does some file
manipulation and may take some long amount of time to finish.
The problem is I want "whatever" to completely finish what it's doing
before Windows runs "more commands" which follow the WinExec (above).
How do I do this?

Is there something in the Advanced options I'm supposed to fiddle with?
---------------------------------------------------------------------------
Clarence K. Din
Programmer/Analyst II, Language Analysis Center, University of Pennsylvania
din@grad1.cis.upenn.edu
---------------------------------------------------------------------------
"I have my toys (D-50, SR-16, TG-16 CD-ROM, SNES) and you don't!  Nyah!!!"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads