CnPack Forum

#1 bpl内线程怎么退不出来
在运行时 bpl内
destructor TxxThread.Destroy;
begin
//下面这段话...到结束 如果不加的话,exe关闭时就出错,加的话，又退不出来 ,请版主看看
if ModuleIsLib then
begin
if not FreeOnTerminate then
begin
FreeOnTerminate := true;
WaitFor;
Exit;
end;
end;
//结束
Terminate;
PMessages;
WaitFor;
inherited;
end;
8/25 18:21
niaoge

#2
..

#1 >>Next Page

Forum:技术板块灌水区 ...
Thread:bpl内线程怎么退不出 ...
Next Thread:请各位大大指点！急急急 ...

Home
Login

Powered by Discuz!