![]() |
Incompatible types TCaption and PAnsiChar und was nun?
Hallo Leute,
Ich habe ein Problem, ich moechte mittels
Delphi-Quellcode:
eine Datei downloaden aber er gibt mir die Fehler Meldung
var
cDownStatus : cDownloadStatusCallback; begin cDownStatus := cDownloadStatusCallBack.Create; try URLDownloadToFIle(nil, Link.text, Datei.text, 0, CDownStatus); finally cDownStatus.Free; end; end; Zitat:
Kann ich das irgendwie umgehen? Denn ich komme um die Editboxen nicht rum. Herzlichen Dank im voraus Leute. Gruss Lucius. |
Re: Incompatible types TCaption and PAnsiChar und was nun?
Mach einen Cast nach PChar.
|
Re: Incompatible types TCaption and PAnsiChar und was nun?
Hi Luckie,
Zitat:
Kenn mich da noch nicht somit aus. MFG, Lucius. |
Re: Incompatible types TCaption and PAnsiChar und was nun?
Delphi-Quellcode:
URLDownloadToFIle(nil, PChar(Link.text), PChar(Datei.text), 0, CDownStatus);
|
Re: Incompatible types TCaption and PAnsiChar und was nun?
Funktioniert Luckie, Herzlichen Dank auch.
Gruss Lucius. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:18 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