Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!ll-xn!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc
From: tomc@mntgfx.mentor.com (Tom Carstensen)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Patching Trap Calling under Multifinder
Keywords: patch trap multifinder
Message-ID: <1988Jun22.111251.394@mntgfx.mentor.com>
Date: 22 Jun 88 18:12:48 GMT
Organization: Mentor Graphics Corporation, Beaverton Oregon
Lines: 29

I got a reponse to the message stating the the Trap
Dispatch table it kept for each application, but suggested
that perhaps _DrawMenuBar is patched by Multifinder itself.

Here's a repost of my original posting:

> What I'm trying to do is patch _DrawMenuBar, to
> call a routine that simply sets a global flag, and then
> calls the actual _DrawMenuBar.

> This works great NOT using Multifinder, but BOOM/Crash
> under Multifinder.

> I tried restoring/installing the patch on suspend/resume
> events, but it still crashed.

> What can and can't I do??

Thanks.

:------------------------------------------------------------:
: Tom Carstensen         Usenet: tomc@mntgfx.MENTOR.COM      :
: Mentor Graphics                Delphi: CARSTENSEN          :
:                                GEnie:  CARSTENSEN          :
:                                                            :
:         If you are sick and tired, of all your dreadful    :
:         dimensions, let me stretch your TIME!              :
:                                       - Time Operator      :
:------------------------------------------------------------: