home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!psinntp!rrdtc!berg
- From: berg@rrdtc.donnelley.com (Erik Berg)
- Subject: What to wait for in WaitNextEvent after a SubLaunch
- Message-ID: <1992Jul21.151540.6311@donnelley.com>
- Sender: berg@donnelley.com (Erik Berg)
- Organization: R. R. Donnelley & Sons Technical Center, Lisle, Ill.
- Distribution: na
- Date: Tue, 21 Jul 1992 15:15:40 GMT
- Lines: 22
-
- I new to the world of Mac programming and I am having difficultly finding
- out this solution. The problem is that I do not know what event to wait for
- in WaitNextEvent() after sub-Launching another application. I want the
- sub-launched application to return and then continue with the program that
- launched it. Currently the program sub-launches the desired application and
- then just keeps on running. Note my program needs to sub-launch the same
- application numerous times. The program works fine with the debugger if I
- step over each line of code, but in real life it just blows though the loop
- in which the sub-launching takes place.
-
- I am using Think C v4.05 with System 6.0.5 with a Finder of 6.1.5. I have
- read Tech Note #205, and my Finder does not seem to have the
- acceptChildDiedEvents flag in it. I do not want the beta version of Finder
- since I will be distributing this to many users. Also, I must write this
- specifically for system 6, a system 7 version will be developed separately.
-
- Thanks
-
- Erik Berg berg@donnelley.com
-
-
-
-