0

Hello,
Anybody can give me idea, How can i check COM port? I want to check, is it already open or not? if it is already open, just avoid to open the port.

Thanks.

4
Contributors
6
Replies
7
Views
8 Years
Discussion Span
Last Post by Salem
0

My problem is not exactly that. I have another software that run semultaniously. The software also can open the COM1 port. If it opened, my program do not need to open COM1 port. Then Just i want to read data from the port.

0

If the COM1 port is in use by an other process, this resource is locked by the OS and subsequent tries to open the COM1 port will fail.

0

Better yet, tell US what you found out, how you solved it and then mark it closed.
Give something back.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.