General information
Category:
ActiveX controls in VFP
Title:
Can I send from the OnComm event of MSCOMM?
I am trying to establish a 2 way communication program from 2 computers with the MSCOMM control. Here is the logic:
Computer "A" send a string to computer "B". Computer "A" now enter a DO WHILE loop until it receive a confirmation from computer "B". Computer "B" OnComm() event fire. In the OnComm() event, a string is written in the Output propriety.
The problem is that either the string is never sent to computer "A", or the computer "A" OnComm() event doesn't fire. Both computers use the same program with the same parameters.
The weird thing is that if I trace both computers at the same time with the debugger, it work. Without the debugger, it won't work.
Help...
TIA
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only