Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: idhttp calculation problem , need help!
| Subject: | Re: idhttp calculation problem , need help! |
| Posted by: | "inqontrol" (te..@odium.to) |
| Date: | Sat, 8 Mar 2008 23:23:53 |
Inqontrol,
I suspect that your code might be having problems with using the DWORD
GetTickCount as an integer. Does your code have overflow checking turned
on? It should have caught this problem.
Also, you may need to allow for the 49-day rollover of GetTickCount.
HTH, JohnH
--
Hello,
I enabled overflow checking, I also changed integer into DWORD for newtime
and fLastTime -- unfortunately no success. The time jumps to over 6000
minutes .. I'm relative new to delphi and indy components so I may diddnt
understand what else target you aimed to. (I checked the overflow check in
options and added {$Q+} to the project).
Damn, it cannot be that hard to get a good result -.-
Thanks for your reply and help.