wcscat_s() 总是报错 Buffer is too small 的处理 - O-Y - 博客园
1、Buffer is too small:明明自申请的内存空间很大,第一次追加 strSource后,第二次就报错: Buffer is too small。处理:查了网上不少说法,认为正确的理解应该是:wcscat_t函数从 strDestination 的 '\0' 开始并替换它,写入strSource。参考strcat的有关文档,当首字符为'\0'时,直接用 strSource 替换 strDestinat...