> Am I right in thinking that, if you are using a separate > thread to perform a process it should not call any code in > the main thread?
Keep in mind that Delphi's Tthread class is a GUI thread and contains the standard message loop and participates in that loop just like any other GUI thread. For true worker threads this isn't always required. Someone else mentioned another thread that still caused the UI to hang and this connection may be the culprit. If you don't need a GUI thread, create a standard non-GUI, worker thread. Regards, Jim ------------------------------------------------------------------------ Jim Burns, <mailto:jburns at technologydynamics.com> Technology Dynamics Pearland, Texas USA 281 485-0410 / 281 813-6939 _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

