Ver Mensaje Individual
  #3  
Antiguo 28-11-2005
Avatar de delphi.com.ar
delphi.com.ar delphi.com.ar is offline
Federico Firenze
 
Registrado: may 2003
Ubicación: Buenos Aires, Argentina *
Posts: 5.932
Reputación: 27
delphi.com.ar Va por buen camino
Muchas son las formas de hacerlo...

Código Delphi [-]
var
  FS,
  LP: TFileStream;
begin
  FS := TFileStream.Create('c:\Fede.txt', fmOpenRead);
  try
    LP := TFileStream.Create('LPT1', fmOpenWrite);
    try
      LP.CopyFrom(FS, FS.Size);
    finally
      LP.Free;
    end;
  finally
    FS.Free;
  end;
end;
__________________
delphi.com.ar

Dedique el tiempo suficiente para formular su pregunta si pretende que alguien dedique su tiempo en contestarla.
Responder Con Cita