I'm getting the error:
Access violation at address 00420214. Write of address 0000000E.
When creating a Thread. The error line is exactly the creation line (marked with '&').
In uses
I added Unit3 (the thread)
In var
, I set:
DownThread : TMeuDownloader;
And then, at a click of the button, I set:
>DownThread := DownThread.Create(True);
DownThread.FreeOnTerminate := true;
DownThread.Priority := tpNormal;
DownThread.Resume;
And the thread:
unit Unit3;
interface
uses
Classes;
type
TMeuDownloader = class(TThread)
private
protected
procedure Execute; override;
end;
implementation
uses Unit1;
procedure TMeuDownloader.Execute;
begin
end;
end.
Even the thread being empty gives the error.