Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!imagery!p5.f22.n282.z1.FIDONET.ORG!Jim.Spencer From: Jim.Spencer@p5.f22.n282.z1.FIDONET.ORG (Jim Spencer) Newsgroups: comp.sys.mac Subject: init's vs. cdev's Message-ID: <30.25FE33A1@imagery.FIDONET.ORG> Date: 11 Mar 90 16:09:42 GMT Sender: ufgate@imagery.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:282/22.5 - Macintosh SmorgasBo, Bloomington MN Lines: 16 >What is the difference between an init and a cdev, or is there no fine >line drawn between them? > >The differences that I can think of are memory usage and control panel >access. Am I right? Are there others? > >I have a feeling that I am going to get a lot of mail, but I have been >wondering too long about this. An INIT is a code resource which is executed on startup. A cdev is a control panel device that is executed when you select the Control Panel DA and then click on the particular cdev's icon. The reason for your confusing them is that a cdev _FILE_ can contain an INIT which will be executed on startup but it is the INIT not the cdev which is executed at that time. While many cdev's contain INITs, many do not. -- Jim Spencer - via FidoNet node 1:282/33 UUCP: ...!uunet!imagery!22.5!Jim.Spencer ARPA: Jim.Spencer@p5.f22.n282.z1.FIDONET.ORG