Registriert seit: 19. Sep 2006
581 Beiträge
Delphi 2007 Professional
|
Re: anti freeze idhttp
7. Okt 2006, 13:20
Also die Process message ist schon drin
Delphi-Quellcode:
procedure TForm13.IdHTTPWork(ASender: TObject; AWorkMode: TWorkMode;
AWorkCount: Integer);
begin
if not((GetTickCount - FTime) <= 0) then
begin
try
except
end;
end;
FTime := GetTickCount;
FBytes := AWorkCount;
Application.ProcessMessages;
end;
|