vitamin wrote: > If something doesn't work when using SendMessage() then you either doing something wrong, or it's a bug in Wine. In first case - check if it works on Windows. And if it does - file bug in bugzilla.. OK. So without Critical Section it works on Windows perfectly, but in Wine I get mixed lines, when two threads tries to write text in one time.