Xircon
asked on
how to check if the modem on a comm port is opened or not used?
can anyone share a code that checks for modem activity?
say i have a modem on com3, the program would check
if com3 port is open, like when using the internet or when
sending fax.
thanks...
say i have a modem on com3, the program would check
if com3 port is open, like when using the internet or when
sending fax.
thanks...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Both corey and me made good suggestions here, I suggest a split.
I'd go for jarnsater's approach.
The one suggested by corey could lead to other programs getting access denied to the port because your 'check' has it open.
The one suggested by corey could lead to other programs getting access denied to the port because your 'check' has it open.
ASKER
id like to make a program that records the length of usage of the com ports, so it would need to check the ports at regular intervals. is there any less intrusive way of doing this?