What is the differents between Windows and Linux threads? lazarus / 32-Linux ---------------------------------------------------------------------- tr_escape · 2017-06-09 12:10 Hello Lazarus team, I am trying to thread based multi pascal script usage in windows and linux. I prepared a project in windows and I can run it normally. But when I run that codes in Linux I am getting a lot of syncronize problems. Also I try to change some global/local varaibles reading method but I couldn't success as windows os. What should I look details? I am attaching both projects. ---------------------------------------------------------------------- cappe · 2017-06-09 13:54 Try LclIntf.SendMessage(Form1.Handle,                       WM_SET_CAPTION,                       Int64(Form1.FindComponent(aName)),                       Integer(buf)); The first example works well both in linux and windows by me