Access violation at address 7C84BF3A in Module 'kernel.dll'. Read of address
D559FFFF.这一句是什么错误啊...我是运行这段代码出现的错误,,帮忙看一下啊....
strcopy(frombuf,pchar(setdir));
if directoryexists(frombuf) then
begin
with opstruc do
begin
wnd:=handle;
wfunc:=fo_delete;
pfrom:=@frombuf;
fflags:=FOF_NOCONFIRMATION or FOF_SILENT;
fanyoperationsaborted:=false;
hnamemappings:=nil;
lpszprogresstitle:=nil;
end;
shfileoperation(opstruc); //清除文件
end;
D559FFFF.这一句是什么错误啊...我是运行这段代码出现的错误,,帮忙看一下啊....
strcopy(frombuf,pchar(setdir));
if directoryexists(frombuf) then
begin
with opstruc do
begin
wnd:=handle;
wfunc:=fo_delete;
pfrom:=@frombuf;
fflags:=FOF_NOCONFIRMATION or FOF_SILENT;
fanyoperationsaborted:=false;
hnamemappings:=nil;
lpszprogresstitle:=nil;
end;
shfileoperation(opstruc); //清除文件
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货