OK, thanks both for answers. DbgOutThreadLog function seems useful, but I need to write to console so I'll use DebugLn via Synchronize. -- cobines