Home > Back-end >  After using WinAPI Socket, interface card dead, Socket using threads to receive data
After using WinAPI Socket, interface card dead, Socket using threads to receive data

Time:10-13

Interface to use the ListView control display data, the data through a Socket to receive, to receive the thread has been running cycle, the received data is displayed to the screen, I of a total of three ListView TAB interface, when the interface default TAB on the corresponding to the received data to show the TAB, running normally, but if the currently selected TAB interface is not the place, the received data to display interface card dead,,,,,,,, single step tracking are no problem, the thread is no problem, feel update interface controls attribute will refresh their interface, cause the card to death,
Be troubled for a long time, haven't find the reason, give advice or comments please the great god! Thank you very much!

CodePudding user response:

No one answer,,,,,,, add that, if the server before sending the message with the mouse all the three tabs to choose again, send the message again, no matter where, interface will not card dead,
  • Related