It seems that Delphi (Windows?) application only fully shut-down when 
all threads shut down. I had a similar problem in one of my 
applications. In my case it was one of my own threads that was still 
operating when the main thread closed down so I resorted to a trick: In 
my shut-down process I would send a message to the thread and give it 10 
seconds to close down cleanly. If the 10 seconds past and the thread 
didn't shut down I would simply TerminateThread() the thing!

--
Cosmin Prund

John Barrat wrote:
> I was wrong - it does still leave a thread running - suggestions for closing
> this would be appreciated.
> JohnB
>  
> John Barrat 
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
>   

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to