E esgeht Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-24 #1 看了DELPHI自带的例子,也看了大富翁的一些文章 还是觉得莫名其妙,那位高手能指点一下 具体线程该如何创建,如何定义,如何调用,如何释放?
没 没理头号 Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-25 #2 eg: TDemoThread=class(Thread) publish Execute; end; TDemoThread.Execute; begin while not Terminateddo begin end; end; //call thread DemoThread:=TDemoThread.Create(false);//start thread DemoThread.terminate;//stop thread
eg: TDemoThread=class(Thread) publish Execute; end; TDemoThread.Execute; begin while not Terminateddo begin end; end; //call thread DemoThread:=TDemoThread.Create(false);//start thread DemoThread.terminate;//stop thread