Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sockets mfc140ud中的调试断言失败_Sockets_Debugging_Mfc_Assertion - Fatal编程技术网

Sockets mfc140ud中的调试断言失败

Sockets mfc140ud中的调试断言失败,sockets,debugging,mfc,assertion,Sockets,Debugging,Mfc,Assertion,我使用vs2015。在调试模式下运行程序时,此调试断言失败 有人知道怎么处理吗 发布模式正常。谢谢您的回复。我认为主要原因是socket workthread sendmessage在多线程应用程序中关闭了套接字本身 按照对话框中的建议操作,即按“重试”。这将显示问题发生的MFC源代码,这将为您提供可能出错的有价值的信息。您的代码中有一个bug,我们看不到。请阅读。

我使用vs2015。在调试模式下运行程序时,此调试断言失败

有人知道怎么处理吗


发布模式正常。

谢谢您的回复。我认为主要原因是socket workthread sendmessage在多线程应用程序中关闭了套接字本身

按照对话框中的建议操作,即按“重试”。这将显示问题发生的MFC源代码,这将为您提供可能出错的有价值的信息。您的代码中有一个bug,我们看不到。请阅读。