Wilfried Mestdagh wrote: > You can also use GetTickCount, however overrun every 28 day's or so.
Sorry for being OT, but that's why I suggested a tiny little helper function also for use in ICS, something like: function CalcTicksAppart(const T1: LongWord): LongWord; var T2 : LongWord; begin T2 := GetTickCount; if T2 >= T1 then Result := T2 - T1 else Result := MAXDWORD - T1 + T2; end; LongWord or DWord? Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be