[comp.sys.mac.programmer] Problems with FSRead?

jtn@potomac.ads.com (John T. Nelson) (02/09/90)

I'm playing around with the functions OpenDriver, FSRead, FSWrite and
so on.  I'm having problems with FSRead though.  After using
OpenDriver to open up the modem input driver I do an FSRead, but
FSRead returns a -19 error code which means the input driver could not
support the FSRead call.

Now why wouldn't the driver be able to support an FSRead call?  My
refNum is okay and all the other parameteres look kosher.  Could it be
that I'm supposed to use RAMSDOpen and not OpenDevice?

By the way... FSWrite works fine.