Classic Address Error
13-Mar-94 17:42:35
Sb: #163694-Classic Address Error
Fm: Steve Stockman 76507,2646
To: Daniel Witmer 72754,1007
DW:
>>>
If I am using NewHandle(), HLock(), HUnlock(); do I still need to use
StripAddress() ?
<<<
Unless you are doing funky stuff that can actually swap MMU modes, generally
the only reason you should have to StripAddress() is to subtract or compare
pointers. For example, in 24-bit mode it is possible that
*thisHandle < *thatHandle
but
StripAddress (*thisHandle) > StripAddress (*thatHandle)
The second is the one that actually reflects their relative memory location.
Steve