Hello, we are involved in the development of an application (written in VB6) which controls an enviromental sensor via RS-232. For this task we use the CWSerial class which is embedded in the cwinstr.ocx ver. 3.0.3. Everything works well under Windows NT 4.0 and 2000. The problem arises when we try to run the application under XP, so we updated the component by downloading the cwinstr.ocx ver. 6.0.
For other reasons, we are forced to reset and reconfigure the COM port a certain number of times in a second, i.e:
Private Sub tmrTimeMaxRx_Timer()
tmrTimeMaxRx.Enabled = False
CWSerial.Reset
ArrowRxRed (True)
PcRedImage (True)
CWSerial.Configure
tmrTimeDelay = True
End Sub
This code, as I said, do not work anymore, it seems that under XP the COM port is not able to follow this on/off command (4 times per second).
Can anybody give me suggestions?
Thanks
Geordie