CString的堆错误 Heap block at

CString编程中遇到堆错误

Heap block at 00619088 modified at 006190F3 past requested size of 6

 

CString::GetBuffer(0)或(LPTSTR)(LPCTSTR)强制转换来的指针只能用来修改、读取,不能用strlen获取长度!

你可能感兴趣的:(CString的堆错误 Heap block at)