[Gambas-user] Process Management

timothy timothy.marshal-nichols at ...247...
Mon Nov 26 09:41:57 CET 2007



> -----Original Message-----
> From: gambas-user-bounces at lists.sourceforge.net 
> [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of m.galm
> Sent: Sunday, 25 November 2007 02:14 PM
> To: gambas-user at lists.sourceforge.net
> Subject: [Gambas-user] Process Management
> 
> 
> Hello.
> 
> I worked with gambas1 in the Past and want to port a Project 
> to gambas2.
> 
> How do i kill a created Process in gambas2 ?
> 
> in gambas1 i did: 
> 
> PUBLIC $hProcess AS Process
> .
> .
> EXEC aExec FOR READ AS $hProcess 
> .
> .
> $hProcess.Kill
> 
> In gambas2 i have to do:
> 
> EXEC aExec FOR READ AS "Contents"
> 
> Cant put the .kill at "Contents" because its a String
> 
> I tryed: "EXEC aExec FOR READ" to use the default Name "Process".
> 
> But "Process.kill" gives a "Process is not static"-error .
> 
> 
> Thx, Michael Galm
> 

The syntax for a process changed some time ago:

PUBLIC hProcess AS Process
.
.
hProcess = EXEC aExec FOR READ AS "Contents" 
.
.
hProcess.Kill

There dead ;-)

Thanks

8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>

 






More information about the User mailing list