线程里创建的对象会不会在线程释放时自动释放? 我的问题,线程创建时创建的TStringList,在线程里一直使用,在线程释放时会自动释放吗?如果不能,怎么做可以在线程释放时释放它?线程释放我用的是 FreeOnTerminate := true; thread.terminate; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Constructor Create;begin inherited Create(False); Stringlist:=Tstringlist.create;end;Destructor Destroy;begin Stringlist.free; Inherited Destroy;end;这样Stringlist不能释放吗? 使用cxGrid内置的Navigator实现分页(100%结贴) 关于条形码 一个delphi7中窗体间传递的奇怪问题 JCL安装失败,请高手帮忙 lookupcombobox代码怎么写? 关于复选排队运行程序的实现 D7如何做代码保密。 interface not supported 是什么异常? 关于MDI界面 本人的机器出了一些怪问题!可否帮我出出主意? 通过关键词查询,每个关键词用空格分开,如何判断有多少个关键词? 404 你懂的
Constructor Create;
begin
inherited Create(False);
Stringlist:=Tstringlist.create;
end;
Destructor Destroy;
begin
Stringlist.free;
Inherited Destroy;
end;
这样Stringlist不能释放吗?