home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!netnews.upenn.edu!grad1.cis.upenn.edu
- From: din@grad1.cis.upenn.edu (Clarence Din)
- Newsgroups: comp.windows.ms.programmer
- Subject: Help with WinExec !
- Message-ID: <83994@netnews.upenn.edu>
- Date: 21 Jul 92 17:25:09 GMT
- Sender: news@netnews.upenn.edu
- Organization: University of Pennsylvania
- Lines: 25
- Nntp-Posting-Host: grad1.cis.upenn.edu
-
- 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!!!"
-