求助 acm
procedure TForm2.ACMWaveIn1Data(data: Pointer; size: Integer);
var
mdata:array[1..10000] of char;
k:integer;
begin
for k:=1 to size do
mdata[k]:=pchar(dword(data)+k-1)^;
idc.SendBuffer(mdata,size);
end;
程序运行到这里出现 access viotion at0x00458496:write of address 0x00130000
错误