Forum: Netzwerke
by Luckie,
23. Mai 2015
Delphi 2006 code:
type
TDownloadThread = class(TThread)
public
FFilename: AnsiString;
FURL: AnsiString;
procedure Execute; override;
private
procedure DownloadToStream;
Forum: Netzwerke
by Luckie,
23. Mai 2015
Add some pubic fields to your thread object for the parameters.
Forum: Netzwerke
by Luckie,
23. Mai 2015
Make your function a methode of your thread object and call that methode.
Forum: Netzwerke
by Luckie,
23. Mai 2015
Easies solution: Cteate a TThread object and call your function in the execute methode.