Hello, >I tried already to port some thread library from djgpp to fpc >but it didn't work :( Guess, it's a timer problem... I haven't solved it so far... Best regards, Aleksey mailto:picoder at sbis.komi.ru