Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!mts10271 From: mts10271@uxa.cso.uiuc.edu (Michael T Stepniczka) Newsgroups: comp.sys.atari.st.tech Subject: rsrc_gaddr(), etc. Summary: Can't get pointers to editable fields. Keywords: rsrc_gaddr, pointers to fields Message-ID: <1991May6.023631.1912@ux1.cso.uiuc.edu> Date: 6 May 91 02:36:31 GMT Sender: mts10271@uxa.cso.uiuc.edu Organization: University of Illinois at Urbana Lines: 21 I have been trying to figure out how to get the address of an object in a tree using rsrc_gaddr() without any success. The problem is that I have 2 trees, and in each tree several objects. I can't seem to get the address of object 1 from tree 0 and object 1 from tree 1- I get the same address (obj. 1 from tree 0) for both of them. Is there some way to have the rsrc_gaddr distinguish the 2 objects from one another? The Turbo C manual warns that there can be problems getting pointers to anything other than trees, but the explaination that you should get a pointer to the tree and then get pointers using this root pointer doesn't seem to work since I can't get the pointers to the children (I can't see how, anyway). If anyone has had this problem and figured it out, please let me know what the solution was. I need to be able to get the results from multiple editable text fields and am really stumped. Thanks in advance, Michael Stepniczka mts10271@uxa.cso.uiuc.edu