October 28, 2025, 08:18:30 PM

News:

IWBasic runs in Windows 11!


Comport check for availability

Started by gajningi, July 23, 2009, 04:47:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gajningi

This is a variation on the original commexample.eba. It will check if a comport is available and not in use, print to console and a text file. Once you try to check/read/write above COM9:  then you must use '\\\\.\\com?'. This actually works for all comport numbers from 1 to 256.

ZeroDog

256 possible comports, and I only have 2  ;D