Path: utzoo!attcan!uunet!know!samsung!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!hagbard!sunic!nuug!ulrik!ulrik!mortenpp From: mortenpp@ulrik.uio.no (Morten Paul Pedersen) Newsgroups: comp.sys.mac.programmer Subject: Device drivers Message-ID: Date: 2 Oct 90 12:59:17 GMT Sender: mortenpp@ulrik.uio.no (Morten Paul Pedersen) Distribution: comp.sys.mac.programmer Organization: University of Oslo, Norway Lines: 10 I am trying to write a simple device driver with MPW and have some problems. For testing purposes I would like my application to start the driver by calling opendriver(). The drivers name (.drvrtest) and a reference number are parameters and the routine is supposed to return the needed reference number. Each time I get no error, but a refnum of 754 (which must be wrong) and the drivers open-routine is never accessed. Is there somebody who could help me ? Morten Paul Pedersen mortenpp@bio.uio.no