Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!apple!Greg@AppleLink.Apple.Com From: Greg@AppleLink.Apple.Com (Greg Marriott) Newsgroups: comp.sys.mac.programmer Subject: Re: Why won't ResError return the right message? Message-ID: <13456@goofy.Apple.COM> Date: 11 May 91 08:25:20 GMT References: <1CE00001.falep4@tbomb.ice.com> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 14 In article <1CE00001.falep4@tbomb.ice.com>, time@ice.com (Tim Endres) writes: > Actually, the flags for a handle are stored in the *handle*'s address. > Thus, the dereference (* handle) should contain a "pure" address. > Thus, the StripAddress() should only be required on the handle and > *not* on the handle's dereferenced pointer. Sorry, this is dead wrong. The memory manager stores the flags in the high byte of the master pointer. So, (* handle) will contain a "dirty" address if you're running in 24-bit mode. In 32-bit mode, the flags are stored elsewhere. Greg Marriott Blue Meanie Apple Computer, Inc.