On 12 Feb 2008, at 14:55, Damien Gerard wrote: > I though that too but currenttm can not be found under Windows. What > is the good unit for it ? Indeed, you shouldn't use currenttm. Use this routine instead (from the system unit, the result indicates success or failure): Function GetThreadManager(Var TM : TThreadManager) : Boolean; Jonas