Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!apple.com!chewy From: chewy@apple.com (Paul Snively) Newsgroups: comp.sys.mac.programmer Subject: Re: Is multifinder or finder running?? Message-ID: <5499@internal.Apple.COM> Date: 30 Nov 89 00:16:27 GMT References: <17708@ea.ecn.purdue.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 31 In article <17708@ea.ecn.purdue.edu> moyman@ea.ecn.purdue.edu (James M Moya) writes: > How do you determine (if possible) whether finder or multifinder is running > from within an application?? This is a popular one here in DTS, so here goes, hopefully for the benefit of all: First, consider what it is that you really want to know. Do you want to know if you have MultiFinder's temporary memory capabilities around? Do you want to know whether you have _WaitNextEvent as opposed to _GetNextEvent? In other words, please try to check for a specific piece of functionality, rather than trying to globally determine whether MultiFinder is around or not. Part of the problem is that there is no supported way to know whether MultiFinder is around or not. Since most of MultiFinder's functionality, from a programmatical perspective, exists in the _OSDispatch trap, USUALLY the best thing to do is to check to see if _OSDispatch is implemented or not. Hope this helps! __________________________________________________________________________ Just because I work for Apple Computer, Inc. doesn't mean that they believe what I believe or vice-versa. __________________________________________________________________________ C++ -- The language in which only friends can access your private members. __________________________________________________________________________