s:string;
i:integer;
begin
inherited;
i:=BufferLength;
setlength(s,i);
move(buffer^;pchar(s);BufferLength); stcard.Caption :=s;
end;编译错误:
[Error] pFrmmain.pas(191): Not enough actual parameters
i:integer;
begin
inherited;
i:=BufferLength;
setlength(s,i);
move(buffer^;pchar(s);BufferLength); stcard.Caption :=s;
end;编译错误:
[Error] pFrmmain.pas(191): Not enough actual parameters
也不行
move(buffer^;pchar(@s)^;BufferLength);
还是不行!
也不行!
参数间应该用逗号把