好像在delphi5下指针操作运行时会弹出出错对话框,说是access非法的地址.但是
单步运行时却没问题,简单的例子如下,请教高手
var w:string;
p:pchar;
begin
w:='hello the world';
p:=pchar(w);
p^:='F';
showmessage(w);
end;
单步运行时却没问题,简单的例子如下,请教高手
var w:string;
p:pchar;
begin
w:='hello the world';
p:=pchar(w);
p^:='F';
showmessage(w);
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货