Autor Beitrag
unstable
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32

windows xp/2000
D5
BeitragVerfasst: Fr 17.09.04 13:21 
yo,

ich habe ein programm, das files downloaded/uploaded.
ich will eine art lock drin haben, das das Programm wartet wenn ich etwas uploaden will,
während es am downloaden ist.
also:
programm -> download
ich -> upload
programm -> crash

ich will also das man in eine schleife kommt (kein busy wait).
und man kommt erst raus, wenn der downl/upload fertig ist.

-_-unstable

_________________
why bother with a sig?
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 17.09.04 13:30 
ausblenden Delphi-Quelltext
1:
while download_aktiv do application.processmessages;					

Wie Du die download_aktiv mit Leben füllst hängt, von der Download-Komponente ab.