Организую поток(данные приходят с порта) При компиляции выдаёт ошибку: "Unsatisfied forward or external daclaration:'TObrabotka.UpdateChar'"
Вот код модуля:


unit StartThread;
interface
uses
Classes;
type
TObrabotka = class(TThread)
private
i:integer;
procedure UpdateChart;
{ Private declarations }
protected
procedure Execute; override;
end;
implementation
{ Important: Methods and properties of objects in visual components can only be
used in a method called using Synchronize, for example,
Synchronize(UpdateCaption);
and UpdateCaption could look like,
procedure TObrabotka.UpdateCaption;
begin
Form1.Caption := 'Updated in a thread';
end; }
{ TObrabotka }
procedure TObrabotka.Execute;
begin
Synchronize(UpdateChart);
{ Place thread code here }
end;
procedure UpdateChart;
begin
end;
end.