[Gambas-user] Process Management

m.galm m.galm at ...31...
Sun Nov 25 15:13:32 CET 2007


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




More information about the User mailing list