> I am unfamiliar with GetTickCount.  Is that an API or something? 

GetTickCount returns milliseconds since Windows booted. It's a core 
Windows API used for most application timing, although it only has a 
resolution of about 20ms (I think), it also wraps after 49 days, so 
some care is needed for applications that run longer without a reboot.   

   StartTick := GetTickCount ;
// do something
   Seconds := (GetTickCount - StartTick) div 1000 ;

Angus

-- 
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

Reply via email to