Autor Beitrag
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: So 26.03.06 22:56 
Hallo!

Ich habe die TIdAntiFreeze-Kompo auf meine Form gepackt und will ein einer ProgressBar den Upload-Fortschritt anzeigen lassen mittels OnWork, OnWorkBegin, OnWorkEnd.

Nur das Programm friert weiterhin ein. Ich habe in der AntiFreeze-Kompo OnlyWhenIdle auf False gestellt.

Ich hoffe ihr wisst woran das liegt ;)


greetz


EDIT: Vielleicht hilft es: Upload mache ich so:
ausblenden Delphi-Quelltext
1:
2:
3:
  IdFTP1.Connect;
  IdFTP1.Put(Dir, 'new.exe');
  IdFTP1.Disconnect;


EDIT2: Und das Ereignis OnWork wird nur einmal aufgerufen nach OnWorkBegin :roll: Bei 600kb

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mo 27.03.06 22:30 
Hab jetzt noch mal auzsprobiert und wenn ich nichts an der Form mache während dem Upload sehe ich wie die Fortschrittsanzeige wächst (aber nur einmal, denn dann verschwindet die Form - Ist eine extra Form wo der Statusbalken ist).

Ich habe in den ganzen OnWork sachen überall Application.ProcessMessages :(


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Fr 07.04.06 17:24 
Weiß keiner was?

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Di 18.04.06 22:45 
push :cry:

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 19.04.06 21:11 
Unglaublich, liegt an meinem Delphi.. habs mit einer anderen Version kompiliert und da funktioniert es.

Am Source hab ich nichts verändert...
Trotzdem danke :?


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
TSittly
Hält's aus hier
Beiträge: 9

AmigaOS3.5

BeitragVerfasst: Di 20.06.06 14:06 
Es liegt an der Indy-Version
Leider hat jede Version einen Haken, die eine mit ChangeDir, die andere mit dem OnWork.......
Und beim Abort macht Indy was es will........

Weiß jemand, wie bei Indy10 es zu schaffen ist, Put dazu zu bringen, OnWork zu aktivieren?? (AntiFreeze und ProcessMessages hilft da ja bekanntlich wenig)

Es muss doch irgendwie gehen....sonst wär ja das ein Downgrade....
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Di 27.06.06 18:09 
Hi!

Also bei mir funktioniert das OnWork Ereignis, und alles in einem Thread hält auch nix mehr an, dann brauche ich kein AntiFreeze was eh nicht funktioniert ;)


PS: Lag nicht an meinem Delphi wie im letzten Post geschrieben, dachte ich nur zuerst -> musste es also in einen neuen Thread packen...

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.