3
I have a form where I have a Thread
to update some images, calling her using a timer
interval 19000, but it’s generating me the following ERROR only when called by timer
.
Project Sistemaa.exe Raised Exception class $C0000005 with message 'access Violation at 0x00604de7: read of address 0x00000000'.
procedure Tfrm01.TimerJogaAutomaticoTimer(Sender: TObject);
var
//Cria a variavel minhaThread do tipo TMinhaThread
minhaThread1: TGeraResultadoParaColuna01;
begin
//Criação do objeto
ProgressBar1.Position := 0;
minhaThread1 := TGeraResultadoParaColuna01.Create(False);
minhaThread1.FreeOnTerminate := true;
end;
Also post Thread Run to analyze...
– Guybrush
@itasouza if I could help with my answer, you can accept the answer by clicking on the left side of it. If you need any more help, let us know.
– Tmc