S
sauchan
Unregistered / Unconfirmed
GUEST, unregistred user!
var
sFile:string;
strm:TStream;
pChar;
begin
strm := TFileStream.Create(AFileName, fmOpenRead);
setLength(sFile, strm.Size);//[size = 7158]
p:=@strm;
cn:=Length(P);//[cn = 611];
strm.Free;
end
为什么P的长度只有611呢?[BDS2006]
sFile:string;
strm:TStream;
pChar;
begin
strm := TFileStream.Create(AFileName, fmOpenRead);
setLength(sFile, strm.Size);//[size = 7158]
p:=@strm;
cn:=Length(P);//[cn = 611];
strm.Free;
end
为什么P的长度只有611呢?[BDS2006]