递归火山软件开发平台's Archiver
论坛
›
火山平台俱乐部
› 【解决方案】CRT detected that the application wrote to memory after end
urenai
发表于 2022-7-29 17:06:25
【解决方案】CRT detected that the application wrote to memory after end
Visual Studio报错CRT detected that the application wrote to memory after end of heap buffer.
原因是:我只需要50个字节的内存长度,我刚好申请了50个字节。在离开释放内存是导致CRT什么的错误。
解决办法:申请内存时,多申请一些。
页:
[1]
查看完整版本:
【解决方案】CRT detected that the application wrote to memory after end