线程建立时报错:
Project XX.exe raised exception class EAccessViolation with message 'accesss violation at address 004189d88'in module 'xx.exe'.Writeofaddress 000000e'.Process stopped.use Step or Run to continue.我的线程是按标准方法建立的 file|New|Other...建立一个TMythread类,其它啥事都没做.
在Form中
private
  MyThread:TMythread;在 procedure TForm1.Button2Click(Sender: TObject)
begin
  MyThread.Create(true);  <----------------------------------立刻报错
end

解决方案 »

  1.   

    MyThread := TMyThread.Create(true);
      

  2.   

    MyThread := TMyThread.Create(true);来晚了
      

  3.   

    MyThread := TMyThread.Create(true);
    老大就不要来抢分了,这些小活让我来干就好了,呵呵
      

  4.   

    应该是你的TMyThread.Execute方法中有错。
    多半是写了某个未create的对象中的某个变量
      

  5.   

    begin
      MyThread := TMyThread.Create(true);
    end