原因:MFC对象不支持多线程操作,不能供多个线程进程使用,所以尽量不要在线程里面更新界面。
解决办法:
1、将工程改为release
2、使用控件来SetWindowText
3、在线程里面发送消息
SendMessageTimeout(怎么用看另外的博客)