> I am trying to run a python program from a Lazarus > application. Executing it with TProcess is working fine, but > it is slow from the user's perspective : it takes a few > seconds until the program shows up. > > In order to speed up the execution i linked the python > program in the pascal application, but i am receiving some > runtime error when executing the python code.
Why not have the Python one as separate process and communicate using IPC? (for example via shared files) ---------------- 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): 0649-2, 20/11/2006 Tested on: 22/11/2006 1:59:22 ?? 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
