I love ComPort!!
My application D2007/Vista run fine with 3.10 most of the time but sometimes the communication failed. So I upgraded to 4.11f After my upgrade the program goes crazy. It seems like the line:
FComPort.CallRxChar;
in procedure TComThread.DoEvents;
takes very long time.
The program works if it doesn't have to receive too much information, but even if I connect a GPS unit the program creates a crazy stream ov events, and it locks the computer so it may take 10 minutes or longer to even start the Task Manager.
If I have the program running in debugger with no incoming data everything is fine. I have a breakpoint on the first statement on a menu item. If I click the menu item, the debugger just shows a crazy stream of events in the events log and the computer is locked for quite some time.
What has gone wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I love ComPort!!
My application D2007/Vista run fine with 3.10 most of the time but sometimes the communication failed. So I upgraded to 4.11f After my upgrade the program goes crazy. It seems like the line:
FComPort.CallRxChar;
in procedure TComThread.DoEvents;
takes very long time.
The program works if it doesn't have to receive too much information, but even if I connect a GPS unit the program creates a crazy stream ov events, and it locks the computer so it may take 10 minutes or longer to even start the Task Manager.
If I have the program running in debugger with no incoming data everything is fine. I have a breakpoint on the first statement on a menu item. If I click the menu item, the debugger just shows a crazy stream of events in the events log and the computer is locked for quite some time.
What has gone wrong?
Sorry!!
Seems like I had created all those event reports by tagging "Windows Messages" in Debugger Options.
Without that tag it works better.