K
kura
Unregistered / Unconfirmed
GUEST, unregistred user!
程序如下:
procedure TForm1.savetofile(startpoint:integer;bufferointer;length:integer);
var
file1:TFileStream;
begin
try
file1:=TfileStream.Create(form1.saveadd.Text,fmOpenReadWrite);
file1.Seek(startpoint,soFromBeginning);
file1.Write(buffer,length);
FreeAndNil(file1);
except
end;
end;
谁帮看一下?
procedure TForm1.savetofile(startpoint:integer;bufferointer;length:integer);
var
file1:TFileStream;
begin
try
file1:=TfileStream.Create(form1.saveadd.Text,fmOpenReadWrite);
file1.Seek(startpoint,soFromBeginning);
file1.Write(buffer,length);
FreeAndNil(file1);
except
end;
end;
谁帮看一下?