Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!samsung!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!vd09+ From: vd09+@andrew.cmu.edu (Vincent M. Del Vecchio) Newsgroups: comp.sys.mac.programmer Subject: Re: New convention for owned resources--addendum Message-ID: <4b7pXwK00VI=IK5HxD@andrew.cmu.edu> Date: 19 Oct 90 19:50:20 GMT References: <2001.271ca261@waikato.ac.nz> <2005.271d7a03@waikato.ac.nz> <1990Oct17.220257.26134@comp.vuw.ac.nz>, <12084@neptune.inf.ethz.ch> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 29 In-Reply-To: <12084@neptune.inf.ethz.ch> > Excerpts from netnews.comp.sys.mac.programmer: 18-Oct-90 Re: New > convention for owne.. Matthias Neeracher@iiic. (806) > In article <1990Oct17.220257.26134@comp.vuw.ac.nz> > newbery@rata.vuw.ac.nz (Michael Newbery) writes: > >Why not follow the 'BNDL' approach ('bndl' perhaps, which would of > >course require Apple's blessing)? The 'bndl' resource could simply be a > >list of associated resources. Much more general and easier to localise. > This wouldn't work because you need to be able to have such a bundle for every resource ID of every possible resource type, not just of one type. > You can't express that with one 16-bit resource ID, unless you do a lot > of collision detection and renumbering. You're right, of course, but the idea that I got was that we were sort of going to assume that there would be relatively few bndl resources lying around and number them arbitrarily, either indexing through them to check, or (I just thought of this) perhaps naming them to check. e.g. bndl indicating resources owned by XCMD #1039 might be named "XCMD1039" or perhaps "XCMD040F". Apple does, after all, provide underused facilities for doing resource lookup by name. +-------------------------------------------------------------------+ | Vincent Del Vecchio \ #include | | Box 4834 \ #include | | 5125 Margaret Morrison St.\ BITNET: vd09+%andrew@cmuccvma.bitnet | | Pittsburgh, PA 15213 \ UUCP: harvard!andrew.cmu.edu!vd09 | | (412) 268-4441 \ Internet: vd09+@andrew.cmu.edu | +-------------------------------------------------------------------+