home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15471 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.6 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!psuvax1!rutgers!rochester!cornell!uw-beaver!Teknowledge.COM!unix!css-mac1.sri.com!user
  2. From: mxmora@unix.sri.com (Matthew Xavier Mora)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Many Questions about _Launch, but few answers...
  5. Message-ID: <mxmora-140992152427@css-mac1.sri.com>
  6. Date: 14 Sep 92 22:34:17 GMT
  7. References: <Sep.14.16.35.56.1992.3303@aramis.rutgers.edu>
  8. Sender: news@unix.SRI.COM
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: SRI International
  11. Lines: 24
  12.  
  13. In article <Sep.14.16.35.56.1992.3303@aramis.rutgers.edu>,
  14. mezrich@aramis.rutgers.edu (Reuben Mezrich) wrote:
  15.  
  16.  
  17. >      I think that the _Launch command must be one of the greatest
  18. > mysteries (sp?) of the pre-system 7 toolbox.  Does anybody have any
  19. > idea how to properly use this trap ?  I've have a fair amount of
  20. > success in using it, but have run into the difficulty that, under
  21. > System 6, multifinder does not seem to use it at all.  I've used the
  22. > _Launch command successfully under system 6 running the finder, and
  23. > under system 7, but have had no success under system 6 running multifinder.
  24. > It does launch the application, but it does not behave as it should
  25. > (it clears the screen and closes other background applications).
  26.  
  27. Its not a great mystery, your just not supposed to use it. 
  28. You probably have the wrong flags set.
  29.   
  30. I have used the version supplied in the technote # 126
  31. "Sublaunching:Playing the shell Game" and it worked for me. Show us your
  32. code and maybe we can see what you are doing wrong. Don't forget the you
  33. need to set both high bits
  34. (Launchflags := $C000000) to sublaunch.
  35.  
  36. Matt
  37.