cosell@bbn.com (Bernie Cosell) (04/13/89)
I'm trying to get a program to be more robust, and so I'm switching from the standard AllocMem and Open calls to their tracked ARP look-alikes. My problem is that I can't see any easy way to UNDO (FreeMem or Close) the things. I don't really have any way of getting at A1, and I'm not working in C so I don't exactly know how to find that global-vbl that holds the handle to the "last tracked item". Is there some other, less anomalous, way to get at the tracked item handle? (or otherwise get the filehandle / memory "untracked"?) More generally, is there some reason that I'm overlooking why ARP doesn't have, say, an ARPClose that would take a filehandle and do the right magic to untrack-it and then close it? As I read the docs, if I *DO* do a (dos) Close on the filehandle, ARP will be not at all happy when it eventually library closes (ditto if I FreeMem and ARP-tracked chunk of memory). __ / ) Bernie Cosell /--< _ __ __ o _ BBN Sys & Tech, Cambridge, MA 02238 /___/_(<_/ (_/) )_(_(<_ cosell@bbn.com