Hello, All. In ThreadIf (for WIN32) a call to WINAPI-function "CreateThread" is used. It is not recommended practice for win32-programming, AFAIK. Microsoft recommends to use call to "beginthread" and "beginthreadex" functions instead. They properly initialize CRT-data for each thread (and "CreateThread" don't do it)...