Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!oxy!schorsch From: schorsch@oxy.edu (Brent William Schorsch) Newsgroups: comp.sys.mac.programmer Subject: cdev and owned resources Message-ID: <161091@tiger.oxy.edu> Date: 19 Apr 91 16:51:11 GMT Organization: Occidental College, Los Angeles, CA 90041 Lines: 14 Ok, I am writing a cdev and would like some input from people who have more experience than I. My question: is it a problem if within the code of my cdev I use resource ID's that are not considered "owned resource" ID's: for example, I call GetNewDialog(256, ...) and modaldialog without a problem... However, I have problems when reading non dialog stuff (DITL, DLOG). I can't get the List Manager to load my LDEF (even when I use an ID within the cdev range) when I pass it the ID. I can't seem to load resources (via ID) of my own information. Do I need to be conforming to the "owned resource" method of computing ID's using the Control Panel's refnum? I have workaround for everything so far, but would like to know if they are potentially dangerous... Thanks... reply to: schorsch@tiger.oxy.edu