Hello. > procedure DoTerminate; override; Yep, this is the working solution (finally i get it). Many thanks Bart. Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/TThread-OnTerminate-tp5727888p5727915.html Sent from the Free Pascal - General mailing list archive at Nabble.com.