E
Eric
Hi,
In my application for PDA I use the serialport class to send data to a
navigation computer of VDO Dayton.
Everything works fine as long as it is connected to the nav-computer.
When the nav-computer is not connected to the PDA, the program hangs.
No exceptionerrors, no serialports error events, nothing.
Even if I set the WriteTimeOut property to 500, I still don't get any
messages.
I noticed that the serialport is always opened.
So the IsOpen property is always true, even is nothing is connected to the
com port.
Is there a way to test wheather something is connected to the com port?
Why is the WriteTimeOut not causing anything?
I'm using VS2005.
Please help.
rg,
Eric
In my application for PDA I use the serialport class to send data to a
navigation computer of VDO Dayton.
Everything works fine as long as it is connected to the nav-computer.
When the nav-computer is not connected to the PDA, the program hangs.
No exceptionerrors, no serialports error events, nothing.
Even if I set the WriteTimeOut property to 500, I still don't get any
messages.
I noticed that the serialport is always opened.
So the IsOpen property is always true, even is nothing is connected to the
com port.
Is there a way to test wheather something is connected to the com port?
Why is the WriteTimeOut not causing anything?
I'm using VS2005.
Please help.
rg,
Eric