Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi TidEncoderUUE Statt TNMUUProcessor. WIE? (https://www.delphipraxis.net/15913-tidencoderuue-statt-tnmuuprocessor-wie.html)

Schubi 6. Feb 2004 10:19


TidEncoderUUE Statt TNMUUProcessor. WIE?
 
Hallo!

Da bei Delphi 7 nicht mehr der TNMUUProcessor dabei ist, muss ich wohl die Indy-Komponenten
[n]TidEncoderUUE und
TidDecoderUUE[/b]
nehmen.

Beim Processor sah das so aus:
Delphi-Quellcode:
procedure TForm1.Button2Click(Sender: TObject);
var
  FS1 : TFileStream;
  FS2 : TMemoryStream;
begin
  // Encode
  FS1 := TFileStream.Create(Edit1.Text, fmOpenRead);
  FS2 := TMemoryStream.Create;
  try
    processor.InputStream := FS1;
    processor.OutputStream := FS2;
    processor.Encode;
  finally
    FS1.Free;
    FS2.SaveToFile(Edit1.Text);
    FS2.Free;
  end;
end;
(Processor.Method := uuCode)

Wie mach ich das jetzt mit der Indy-Komponente?

Schubi 9. Feb 2004 18:02

Re: TidEncoderUUE Statt TNMUUProcessor. WIE?
 
Hat denn keienr von euch je mit den Indy-Zeugs gearbeitet???
HILFE :|


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz