Thread.Create problem lazarus / 13-General ---------------------------------------------------------------------- beli0135 · 2006-03-14 03:35 Hi. I have strange problem. I am delphi programmer and this works there, not here... quite simple thread is defined  TProcessThread=class(TThread)  with properties and execute all in place. Create was not reintroduced or whatever - just using default constructor This code: Code: [Select] thread:TProcessThread; ..... for i:=0 to Settings.Threads-1 do   begin     thread:=TProcessThread.create(false);     ThreadList.Add(thread);     Application.ProcessMessages;   end;               thread:=TProcessThread.create(false);  gives me runtime error SYSTEM_NOTHREAD ERROR Where's the catch? I would be very much obliged for the clarification ---------------------------------------------------------------------- Marc · 2006-03-14 10:08 did you read http://wiki.lazarus.freepascal.org/index.php/Multithreade d_Application_Tutorial#Units_needed_for_multithreaded_application (and use cthreads ?) ---------------------------------------------------------------------- beli0135 · 2006-03-14 13:22 Oops... sorry. I didn't saw that. I will try. Thanks.