05 2021 档案

摘要:给字符指针(PChar、PWideChar、PAnsiChar)分配内存, 最佳选择是: StrAlloc.StrAlloc 虽然最终也是调用了 GetMem, 但 StrAlloc 会在指针前面添加 Delphi 需要的 4 个管理字节(记录长度).StrAlloc 分配的内存, 用 StrDis 阅读全文
posted @ 2021-05-13 13:59 孤独的战斗笋 阅读(1691) 评论(0) 推荐(0)