[comp.sys.mac.programmer] Device drivers

mortenpp@ulrik.uio.no (Morten Paul Pedersen) (10/02/90)

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