Avatar of dave appus
dave appus

asked on 

File Downloader in Multi threading , Measure Download Speed and progress

Sorry for a beginner question. I need to make a file downloader using delphi and measure the progress and average download speed.
This old post seems like exactly what i need.  https://www.experts-exchange.com/questions/23867812/How-to-calculate-download-speed.html?anchorAnswerId=22863081#a22863081

 Just one problem, i can define  where i have to create TDownloadURL and TURLDownloadStatus in this procedure. Can anybody or expert help me?

//Undeclared identifier: 'TDownLoadURL'.  TURLDownloadStatus
procedure URL_OnDownloadProgress(Sender: TDownLoadURL; aProgress, aProgressMax: Cardinal;
            StatusCode: TURLDownloadStatus; StatusText: String; var Cancel: Boolean);

Avatar of undefined
Last Comment
Geert G

8/22/2022 - Mon