Subj : DosRead - access denied?
To   : all
From : Vitus Jensen
Date : Mon Jun 12 2000 01:05 pm

Hi!

Could someone name any reason why a DosRead() from a serial port will return
error code 5 (access denied)?  It's listed as possible error code but i would
connect it with DosOpen().

The error occurs in a small program i wrote for production tests.  It does
serial communication with several ports/threads.  Quite simple and it worked on
my desk and on all machines produced.  Now i gave it to the developer of the
serial driver and he reports "error 5" back to me...

I just have no clue why DosRead could fail with the error (except when the
driver is buggy (which it is anyway :-)),
   Vitus

--- Sqed/rexx 209:
* Origin: I program like a MAN.  I use COPY CON PROGRAM.EXE (2:2474/424.1)