[Lazarus] Creating TProcess from within a TThread

Richard Mace richard.mace at gmail.com
Tue Apr 28 14:19:47 CEST 2015


Thanks Mattias,
I should have guessed that
Richard
On 28 Apr 2015 13:14, "Mattias Gaertner" <nc-gaertnma at netcologne.de> wrote:

> 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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150428/6a8e2719/attachment-0003.html>


More information about the Lazarus mailing list