Check out if Serial port is used from another application
-
Hello, everyone. I make a program, which uses Serial port (COM1). I'm working with VS 2005. My problem is: Is there any way or method to find out, if the COM1 port is already used from another application before i start my program? Thanks a lot. Please answer me to t_nedelchev@abv.bg t_nedelchev@abv.bg
-
Hello, everyone. I make a program, which uses Serial port (COM1). I'm working with VS 2005. My problem is: Is there any way or method to find out, if the COM1 port is already used from another application before i start my program? Thanks a lot. Please answer me to t_nedelchev@abv.bg t_nedelchev@abv.bg
AFAIK there's no other way than trying to open the serial port.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook