Thanks, this definitely helps at least the reason why it is breaking. I am not sure how to get around it though. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Strange-issue-with-threads-tp2823464p4728549.html Sent from the Free Pascal - General mailing list archive at Nabble.com.