Article View: comp.sys.mac
Article #19006Re: multifinder queries & HyperCard annoyances
From: Larry Rosenstein
Date: Fri, 11 Sep 1987 21:12
Date: Fri, 11 Sep 1987 21:12
42 lines
2344 bytes
2344 bytes
In article <4060@utai.UUCP> dudek@ai.UUCP (Gregory Dudek) writes:
>
> Does anybody know how you can tell you're running in this environment?
>I presume that the switcher globals are still used, but how do you know
I have a review copy of a Tech Note on Multifinder. (Since it hasn't been
oficially released, I won't go into specific details, but just give you the
basic ideas.)
The question is why do you need to know whether you are running under
Multifinder? Usually, you just want to know if one of the Multifinder
features is available (eg, WaitNextEvent, temporary memory allocation, etc.)
In this case, you just see if the appropriate trap is implemented or not.
Multifinder does not use the same Switcher globals, since its does not
provide the same programmatic interface. (If it did use the same globals,
applications that could work directly with Switcher might get confused.) In
fact, part of the test to see if Multifinder is installed is to check the
Switcher globals to make sure Switcher is not running.
> If you do a sublaunch, I thought this adds another partition
>with the new program in it. Presumably your program exits at this
>point as it used to? Is there a way to fork off a new partition and
>application WITHOUT closing the current application?
Tech Note #126 describes how to do sublaunching, by passing extra
parameters to the Launch trap. I believe that if you follow this Tech
Note, then Multifinder will launch the application in its own partition
without terminating the parent.
--
Larry Rosenstein
Object Specialist
Apple Computer
AppleLink: Rosenstein1
UUCP: {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.com
Technical Details
Message-ID:
<6209@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!labrea!decwrl!pyramid!voder!apple!lsrReferences:
<809@newton.physics.purdue.edu> <4060@utai.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!labrea!decwrl!pyramid!voder!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: multifinder queries & HyperCard annoyances Message-ID: <6209@apple.UUCP> Date: Fri, 11-Sep-87 17:12:37 EDT Article-I.D.: apple.6209 Posted: Fri Sep 11 17:12:37 1987 Date-Received: Sat, 12-Sep-87 20:36:16 EDT References: <809@newton.physics.purdue.edu> <4060@utai.UUCP> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 42 Keywords: HyperCard