我程序象这样写,
rocedure TForm1.Button5Click(Sender: TObject);
begin
thred.sms_thread.Create(false);
thred.sms_thread.Create(false);
end;
没以一点问题。可是改成:
rocedure TForm1.Button5Click(Sender: TObject);
begin
temp:=1;
while temp<2 do
begin
thred.sms_thread.Create(false);
temp:=temp+1;
end;
就运行出错,提示说:Access violation at a address 0000000 . read of a address 00000000之类的话!
我不懂!!哭ing!
rocedure TForm1.Button5Click(Sender: TObject);
begin
thred.sms_thread.Create(false);
thred.sms_thread.Create(false);
end;
没以一点问题。可是改成:
rocedure TForm1.Button5Click(Sender: TObject);
begin
temp:=1;
while temp<2 do
begin
thred.sms_thread.Create(false);
temp:=temp+1;
end;
就运行出错,提示说:Access violation at a address 0000000 . read of a address 00000000之类的话!
我不懂!!哭ing!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货