Autor Beitrag
Masterhawk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 92

Win 2000,Win XP
D6 Pers
BeitragVerfasst: Sa 20.11.04 12:33 
Ich weiß jetzt nicht ob das hier in die Rubrik gehört oder ob es in den Netzwerk Topic muss:

ausblenden Delphi-Quelltext
1:
UrlDownloadToFile(URLDownloadToFile(NIL, <span style="font-weight: bold">'http://www.masterhawk.de/VCheck.txt'</span>, 'C:\VCheck.txt', 0, NIL);					


Dort muss 'http://www.masterhawk.de/VCheck.txt' im PChar Format sein, aber wie kann ich eine Variable mit einer beliebigen Adresse im PChar Format erstellen...
Am hilfreichsten wäre eine Procedure(StringToPChar) thx for help
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Sa 20.11.04 12:49 
Einfach PCHar davor schreiben.

ausblenden Delphi-Quelltext
1:
...,PChar('www.sdfsdf.de'),....					
Masterhawk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 92

Win 2000,Win XP
D6 Pers
BeitragVerfasst: Sa 20.11.04 13:09 
jau funtzt, danke