📄 subject_35669.htm
字号:
<p>
序号:35669 发表者:小希 发表日期:2003-04-08 16:12:24
<br>主题:请问谁知道这是什么问题?关于聊天室程序的
<br>内容:做了一个聊天室程序,服务器端是一个ACTIVEX控件,客户端也是一个ACTIVEX控件,在用VC提供的ACTIVEX CONTAIN TEST……这个工具进行测试时,发现,当客户端用户说了话(即客户端发送了聊天信息,在服务器端的监视窗口上也有这些信息)时,关闭服务器端的ACTIVE CONTAIN TEST……工具窗口,即退出该工具,会出现如下错误:<BR>Debug Assertion Failed!<BR>Program:.......\Business Companents Gallery\Bin\xxx.exe<BR>File:dbgheap.c<BR>Line:1017<BR>Expression:_BLOCK_TYPE_IS_VALID(pHead->nBlockuse)<BR>For information on how your program can cause an assertion failure,see the Visua<BR>l c++ documentation on asserts<BR>(Press Retry to debug the application)<BR>但是当客户端没有发任何消息,只有服务器发送了系统消息或者二者都不发送消息空窗口的时候,关闭工具窗口不会报错。<BR>不知道这是什么原因,这个错误是什么意思?请高手指教,谢谢
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:neilgan 回复日期:2003-04-10 23:22:34
<br>内容:One of your buffers overflows. Check every buffer you get from new/malloc.<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -