Page 1 of 1

Posted: Sun Jun 16, 2002 6:41 pm
by BackupUser
Restored from previous forum. Originally posted by skypa.

Hi,

ist there a PureBasic internal or API posibility to kill tasks? (Not the "Close" Command which is sent to the application, the taks should be "killed")

thx in advance

skypa

Posted: Mon Jun 17, 2002 7:37 am
by BackupUser
Restored from previous forum. Originally posted by Iontichy.

I think

TerminateProcess_(
hProcess, // handle to the process
uExitCode // exit code for the process
)

can do that. All you have to know is the process handle.


---------------
star traveler