Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!chx400!bernina!iis.ethz.ch!neeri From: neeri@iis.ethz.ch (Matthias Ulrich Neeracher) Newsgroups: comp.sys.mac.programmer Subject: Re: resource access from a cdev Message-ID: <1991Apr17.170027.23710@bernina.ethz.ch> Date: 17 Apr 91 17:00:27 GMT References: <159795@tiger.oxy.edu> Sender: news@bernina.ethz.ch (USENET News System) Reply-To: neeri@iis.ethz.ch Organization: Integrated Systems Laboratory, ETH, Zurich Lines: 22 Nntp-Posting-Host: etzj-gw In article <159795@tiger.oxy.edu>, schorsch@oxy.edu (Brent William Schorsch) writes: >Hello, everyone. I've got one simple question: how can I get >access to several hundred resources from within a cdev? > >Assuming that I have to start storing resources at -4033 (due to >the screwy "owned resource" stuff of DA's) having hundreds of >resources of the same type would have ID's which encroach upon the Control >Panel's reserved ID range--a no no. If my assumption is wrong, please >enlighten me. Your assumption is certainly wrong under current systems. The Control Panel assumes certain resources have fixed IDs, but it is not necessary for all cdev related resources to be owned by the cdev. I don't think this is likely to change in the future, as I can't think of one single cdev I have seen that complies strictly to the owned resource condition. Matthias -- Matthias Neeracher neeri@iis.ethz.ch "These days, though, you have to be pretty technical before you can even aspire to crudeness." -- William Gibson, _Johnny Mnemonic_