PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

com port status?

anyone know how I can check if a com port is being used?

cheers
JIm
angedelamort · 21 Oct 2002, 22:09 UTC
CreateFile() with a string like "COM1: "
+
GetLastError()
--------------
it should tell you if it's already in use.