New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

Test for open ComPort?

  • 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?


    Clay C. Clear