[Lazarus] Creating TProcess from within a TThread

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Apr 28 14:14:39 CEST 2015


On Tue, 28 Apr 2015 13:10:33 +0100
Richard Mace <richard.mace at gmail.com> wrote:

> Hi,
> I am currently working on a project that will need to use multiple threads
> which will each need to create their own TProcess.
> 
> Is this possible as when I attempt it at the moment, tprocess requires a
> tcomponent when created?

You can pass nil:
aProcess:=TProcess.Create(nil);

Mattias




More information about the Lazarus mailing list