Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!psuvm!cxt105 From: CXT105@psuvm.psu.edu (Christopher Tate) Newsgroups: comp.sys.mac.programmer Subject: StripAddress() question Message-ID: <90323.102417CXT105@psuvm.psu.edu> Date: 19 Nov 90 15:24:17 GMT Organization: Penn State University Lines: 21 Do I need to call StripAddress() in the following situation? Here's the relevant code: Handle myHand; unsigned char *myPtr; myHand = NewHandle(AMOUNT); HLock(myHand); myPtr = StripAddress(*myHand); /* <-- do I need to do this? */ /* Now, put stuff into the block, using and incrementing myPtr */ Do I need to call StripAddress(*myHand) to make sure I get a valid pointer into the block? I *think* I do, because the master pointer might have strange stuff in it, but I'm not sure, and the tech note isn't too clear on this.... ------- Christopher Tate | etaT rehpotsirhC Bitnet: cxt105@psuvm | mvusp@501txc :tentiB Uucp: ...!psuvax1!psuvm.bitnet!cxt105 | 501txc!tentib.mvusp!1xavusp!... :pcuU Internet: cxt105@psuvm.psu.edu | ude.usp.mvusp@501txc :tenretnI