An interesting discussion at this link on the subject. http://networkedblogs.com/axUUw
*Effectively, the beginning of the main() function is the only really safe place to call XInitThreads(). * -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Xlib-Threads-tp5719066p5719079.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal