> > What is needed to allow different Forms to run in different Threads? > > > I am not sure, but I think that ... > > It is needed, that the threads are created in different processes. > > There is a global application object, so the LCL is > essentially not suitable for being run in multiple threads.
In Delphi VCL, there's a way to use multiple threads and when you want to do drawing etc. serialize calls on the main GUI thread See "Synchronize" call in VCL docs ---------------- George Birbilis ([EMAIL PROTECTED]) Computer & Informatics Engineer Microsoft MVP J# for 2004-2006 Borland "Spirit of Delphi" ++ QuickTime, Delphi, ActiveX, .NET components ++ http://www.kagi.com/birbilis ++ Robotics ++ http://www.mech.upatras.gr/~Robotics http://www.mech.upatras.gr/~robgroup _____ avast! Antivirus <http://www.avast.com> : Outbound message clean. Virus Database (VPS): 0647-0, 09/11/2006 Tested on: 15/11/2006 8:41:14 ?? avast! - copyright (c) 1988-2006 ALWIL Software. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
