Tema: TFileStream
Ver Mensaje Individual
  #2  
Antiguo 25-10-2003
Mick Mick is offline
Miembro
 
Registrado: may 2003
Posts: 405
Reputación: 22
Mick Va por buen camino
Prueba a posicionarte al final del
archivo antes de escribir:
Código:
var
  F : TFileStream;
  S : String;
begin
 F := TFileStream.Create('C:\archivo.xxx', MODO);
 try
    S := 'Hola';
    F.Seek(0,soFromEnd);
    F.Write(S, Length(S));
 finally
    F.Free;
 end;
end;
Salud2 !!!
Responder Con Cita