Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!zaphod.mps.ohio-state.edu!excelan!unix!stores From: stores@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: Is multifinder or finder running?? Message-ID: <6785@unix.SRI.COM> Date: 12 Dec 89 19:12:34 GMT References: <1451@gvgpvd.GVG.TEK.COM> Reply-To: stores@unix.UUCP (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 31 In article <1451@gvgpvd.GVG.TEK.COM> andyp@gvgpvd.GVG.TEK.COM (Andy Peterman) writes: >ARGH!!!! I can't stand it anymore. Here's method of determining if >MultiFinder is running (in C): > > WindowPtr deskTop; /* usable if mfActive is false */ > Boolean mfActive; /* true if MultiFinder is running */ > > GetWMgrPort (&deskTop); > mfActive = (PtrZone ((Ptr)deskTop) == GetZone()); > >Andy Peterman >andyp@gvgpvd.gvg.tek.com Here's another way (qouted from John Norstad article # 48669) "When using Disinfectant to repair WDEF infections, you must use Finder instead of MultiFinder. Under MultiFinder the Desktop files are always Rbusy,S and Disinfectant is not able to repair them. If you try to repair using MultiFinder, you will get an error message." Check the desktop file and see if its busy :-) -- ___________________________________________________________ Matthew Mora SRI International stores@unix.sri.com ___________________________________________________________