It seems that the MSComm can only transfer 40 bytes each time.
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I use the activeX MSComm in my program. But when I send more than 40 bytes data, It will have the assert problem. In the OnComm() function, I found that it can only loop 40 times when Getting the element. But in the release mode, it seems to be OK. However, I can not use the release mode, because other parts of my program have to debug when programming. Have you ever met this problem? How did you solve it? Thanks!