buffer is too small,什么原因?
弹出一个出错的对话框,它说: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,有时会出现这种情况,都有什么原因?