if not MyThread.Terminated then
{ ... }
else { ... };
{ ... }
else { ... };
解决方案 »
- 新手问题,求用delphi7通过Qreport控件显示数据表内容的实例。
- 我在bcb6.0中,用windows media play 这个Active 控件 如何注册?
- 如何把WebBrower中显示的内容打印出来 EXWCWB不能用
- 我急!,我急!!,我急急急!!!
- 菜鸟提问
- 数据库开发——你是用PB,还是DELPHI??????
- 为什么infopower的WWDBGRID在将CONTROL TYPE定义成CUSTOMFIELD,修改时资料便不能保存
- 帮忙~
- 如何给delphi打补丁??
- delphi中的MDI代码怎么写,跟书上说的不一样。
- 当调用AnimateWindow动画显示一个窗体时为什么只显示窗体而看不到窗体label上的文字,如何解决?
- 请门各位高手在DELPHI中如何用DELPHI的控制TWordApplication,TWordDocument等来控制Word文件?
WaitFor doesn't return until the thread terminates, so the thread must exit either by finishing the Execute method
如果不想等待太长可以:
if WaitForSingleObject(Thread.Handle, 200)=WAIT_OBJECT_0 then
// Thread 结束以上前提是 TThread.FreeOnTerminate := False; 否则你可以设置 OnTerminate 方法,在新指向的方法里将 Thread := nil; 然后用 if Thread=nil then 判断.
WaitFor doesn't return until the thread terminates, so the thread must exit either by finishing the Execute method
如果不想等待太长可以:
if WaitForSingleObject(Thread.Handle, 200)=WAIT_OBJECT_0 then
// Thread 结束以上前提是 TThread.FreeOnTerminate := False; 否则你可以设置 OnTerminate 方法,在新指向的方法里将 Thread := nil; 然后用 if Thread=nil then 判断.
帮帮忙
WaitFor doesn't return until the thread terminates, so the thread must exit either by finishing the Execute method
如果不想等待太长可以:
if WaitForSingleObject(Thread.Handle, 200)=WAIT_OBJECT_0 then
// Thread 结束以上前提是 TThread.FreeOnTerminate := False; 否则你可以设置 OnTerminate 方法,在新指向的方法里将 Thread := nil; 然后用 if Thread=nil then 判断.