Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我需要转换delphi的代码:
LPBYTE readCharBuff = NULL; BYTE readBuffSize; readCharBuff = new BYTE[200]; readBuffSize = 200; readCharBuff[readBuffSize] = '\0';
谢谢你的帮助
这是一个字面翻译:
var readCharBuff: PByte; readBuffSize: Byte;
.
readCharBuff := nil; GetMem(readCharBuff, 200); readBuffSize := 200; readCharBuff[readBuffSize] := $0;