Announcement

Collapse
No announcement yet.

Test for open ComPort?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Test for open ComPort?

    Does anybody know how to test if a ComPort (serial) is already
    in use within a PB/DOS 3.5 program? I tried the same approach
    I use with my 32-bit (PB/DLL 6.0) programs, that is, by trying
    to open the port, then testing the ERRCLEAR var. This does NOT
    work in PB/DOS 3.5. My ON ERROR GOTO <label> is NOT invoked in
    the PB/DOS test program I wrote, even when it tried to open a
    port that was definitely in use.

    Any ideas?

    Cordially,

    Clay C. Clear
Working...
X