J
jianghui
Unregistered / Unconfirmed
GUEST, unregistred user!
我用VclUnZip控件还原被压缩的文件时,对OverWritemode属性不知应该怎样赋值?
With VCLUnzip1 do
begin
ZipName := 'c:/ziptemp/temp.zip' ;
ReadZip;
FilesList.Add( '*.doc' );
DoAll := False;
DestDir := 'c:/ziptemp'
RecreateDirs := false;
RetainAttributes := True ;
OverwriteMode:=always;
NumUnzipped := Unzip;
end;
上段编码在编译时出现'Undeclared identifier: 'always''
With VCLUnzip1 do
begin
ZipName := 'c:/ziptemp/temp.zip' ;
ReadZip;
FilesList.Add( '*.doc' );
DoAll := False;
DestDir := 'c:/ziptemp'
RecreateDirs := false;
RetainAttributes := True ;
OverwriteMode:=always;
NumUnzipped := Unzip;
end;
上段编码在编译时出现'Undeclared identifier: 'always''