Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!mips!apple!portal!cup.portal.com!jwhitnell From: jwhitnell@cup.portal.com (Jerry D Whitnell) Newsgroups: comp.sys.mac.programmer Subject: Re: patching globally after MF Message-ID: <34224@cup.portal.com> Date: 24 Sep 90 02:50:55 GMT References: <20695@well.sf.ca.us> Organization: The Portal System (TM) Lines: 18 Pete Gontier, gurgle@well.sf.ca.us writes... |A patch to NewWindow I install at the time of the first GetNextEvent affects |only the Finder (or the startup application) even if my patch code lives in |the System Heap. |Anybody got any secrets about patching after MultiFinder? I havn't tried it, so I'd like to know what you find. However I'd think OpenResFile may be too early in the process that MultiFinder goes through to launch tasks. Try looking for one of the Init* that everyone has to call at the beginning of their program (InitGraf, InitWindow, ad nasum) for one that is not patched by MF, and patch it to patch NewWindow. Since everyone has to call them, your patch code will get control early on in the application. Let me know what you find. Jerry Whitnell SuperMac Technology jwhitnell@cup.portal.com