Is there any way to "timeout" the WriteComm function.
I want to be able to allow the user the ability to Scan for my device on a com port.
I generate a list of all available com ports in the system, then want to try and find my device by doing a writecomm/readcomm to see which com port the device responds on.
If my device is on the first com port in the list it connects and everything is ok.
If it's not the first device, the WriteComm function just locks the system.
I have verified it's the WriteComm function by placing a MsgInfo() before and after... I never get to see the second MsgInfo().
Any ideas?
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)