buffer is too small,什么原因?

huaidan2012126 huaidan2012126 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
弹出一个出错的对话框,它说:Debug Assertion Failed!
File:f:\rtm\vctools\crt_bld\self_x86\crt\src\vswprint.c
Line:280

Expression:("Buffer too small",0)
For information on how your program can cause an assertion failure seethe Visual C++ documentation on asserts

(Press Retry to debug the application)

cstring str;
str.format("asd....");
setdlgitemtext(,str);

在文本框控件里,setdlgitemtext,有时会出现这种情况,都有什么原因?
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
huaidan2012126
VC/MFC 16,550 成员 421,606 内容