![]() |
Downlaod Speed mit URLDownloadToFile
Hi.
ich lade eine Dati mit URLDownloadToFile herunter. Ich habe mir ![]() Meine Frage: Kann ich auch die aktuelle Geschwindigkeit anzeigen lassen oder die schon geladenen Bytes? Die Gesamtgröße kenne ich! (am Besten beides ^^) Achja, ich möchte OHNE Indy arbeiten!!! Grüße Asfaloth |
Re: Downlaod Speed mit URLDownloadToFile
Die geladenen Bytes bekommst du über die Methode:
Delphi-Quellcode:
im Parameter ulProgress. ulProgressMax enthält die Gesamtanzahl der Bytes.
function OnProgress(ulProgress, ulProgressMax, ulStatusCode: ULONG; szStatusText: LPCWSTR): HResult; stdcall;
|
Re: Downlaod Speed mit URLDownloadToFile
danke schonmal
aber.... aber wie kann ich das in einem label anzeigen?? bei mir sagt er immer "Inkompatieble Typen: string und Cardinal" EDIT: habs herausgefunden :D mit IntToStr wens interresiert ^^ |
Re: Downlaod Speed mit URLDownloadToFile
Na ja, ist halt eine Zahl. Ich sag nur
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:09 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz