"Terry Olsen" wrote in message news:... > So...if anyone knows how to convert the handle returned from the NewHandle > call into a value indicating the starting location of the block of memory, > i'd sure appreciate a pointer... hehe... > > This is what I've got so far...I know it's wrong...that's why I'm asking for > help here... > > begin > gZeroPage := 0; > TLStartup; > gMyMemoryID := MMStartup; > MTStartup; > gToolZeroPageH := NewHandle(6*256,gMyMemoryID,-16379,@gZeroPage); > HandToPtr(gToolZeroPageH,@gToolZeroPageP,3); > gToolZeroPage := LoWord(gToolZeroPageP); > > The last three lines are what I need the help with. Thanks! What you need to do is dereference the handle. In assembler you would do this (assuming 16 bit registers) LDA [Handle] TAX ;low word in X LDY #2 LDA [Handle],Y ;high word in A In C you would do this: Handle msgText; pointer textPtr; msgText = NewHandle(0x8000L, userid(), 0x8000, 0L); textPtr = *(msgText); Sorry, I can't remember how to do it in Pascal. Perhaps someone else can help out? Cheers, Andrew