You are not logged in.
Pages: 1
Hi,
I found an issue under Delphi 5.
Class definition of TFakeWriterStream is in the wrong section (NOVARIANTS).
I think it should be located after {$endif DELPHI2010} and before {$ifndef NOVARIANTS} (line 24140) like this:
{$endif ISDELPHI2010}
type
/// a fake TStream, which will just count the number of bytes written
TFakeWriterStream = class(TStream)
public
function Read(var Buffer; Count: Longint): Longint; override;
function Write(const Buffer; Count: Longint): Longint; override;
function Seek(Offset: Longint; Origin: Word): Longint; override;
end;
function TFakeWriterStream.Read(var Buffer; Count: Longint): Longint;
begin // do nothing
result := Count;
end;
function TFakeWriterStream.Write(const Buffer; Count: Longint): Longint;
begin // do nothing
result := Count;
end;
function TFakeWriterStream.Seek(Offset: Longint; Origin: Word): Longint;
begin
result := Offset;
end;
{$ifndef NOVARIANTS}
Offline
It has already been fixed some hours ago.
See http://synopse.info/fossil/info/012bb2dfa14
Offline
Pages: 1