Autor Beitrag
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 14.08.03 16:38 
Folgendes: Ich habe 3 label, jetzt möchte ich dass die Datei label1.caption+label2.caption+label3.caption heruntergeladen wird, logischerweise müsste es ja dann:
ausblenden Delphi-Quelltext
1:
UrlDownloadToFile(nil, PChar(label1.caption +label2.caption +label3.caption), PChar('C:\asdf.txt'), 0nil) = 0;					


Nur geht das leider nicht, weiss einer warum? :oops:
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Do 14.08.03 16:42 
Hi,

was genau geht denn daran nicht???

Au'revoir,
Aya

_________________
Aya
I aim for my endless dreams and I know they will come true!
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 14.08.03 16:49 
Zitat:

Erzeugen
[Fehler] Unit1.pas(91): ':=' erwartet, aber '=' gefunden
[Fataler Fehler] Project1.dpr(7): Verwendete Unit 'Unit1.pas' kann nicht compiliert werden

UrlDownloadToFile(nil, PChar(label1.caption +label2.caption +label3.caption), PChar('C:\asdf.txt'), 0, nil) = 0;
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Do 14.08.03 16:55 
Hi,

was soll denn das = 0 am ende??
Wenn du da den rückgabewert überprüfen willst, muß das ganze in nen If-Then.

Au'revoir,
Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 14.08.03 17:00 
Ich hatte den Code hier ausm Forum, ohne das = 0 gehts ;)