My application 'hangs' as soon as my thread execute.
The 1.0.x branch lacks variant and thread support but is well tested and production stable.
The 1.1 branch of the compiler also works with Lazarus and will eventually add variants and threads but is under continuous development.
Does this mean no threading under lazarus? I'm not sure which FPC version I have.
fpc /? (from c:\lazarus\pp\bin\i386-win\) gave
Free Pascal Compiler version 1.9.8 [2005/02/25] for i386
procedure TfrmMain.ImportData;
var ImportThread : TImportThread;
begin
ShowMessage('Going to Start thread');
with ImportThread.Create do
begin
// OnTerminate := @EnableAll;
resume;
end;
end;
Is the
with ImportThread.Create do
the correct method to start my thread?
I saw this method when I searched for 'thread' on the forum.
Thanks!