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;