[Lazarus] Creating TProcess from within a TThread

Michael Van Canneyt michael at freepascal.org
Tue Apr 28 14:15:10 CEST 2015



On Tue, 28 Apr 2015, Richard Mace 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?

Just pass Nil as the Owner. Do not forget to free it then.

Michael.




More information about the Lazarus mailing list