线程里创建的对象会不会在线程释放时自动释放? 我的问题,线程创建时创建的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不能释放吗? delphi开发的Webservice如何部署在IIS下 最稳定的DELPHI版本是哪个? 请教:Memo的光标问题, 高分求一SQL语句的写法? 求工资管理系统工资项动态修改的思路 过滤Filtered使用like怎么失败 看看有没有人会着个问题 我想做文件续传! 这句是什么意思??? 时间控件 通过关键词查询,每个关键词用空格分开,如何判断有多少个关键词? 404 你懂的
Constructor Create;
begin
inherited Create(False);
Stringlist:=Tstringlist.create;
end;
Destructor Destroy;
begin
Stringlist.free;
Inherited Destroy;
end;
这样Stringlist不能释放吗?