Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Starting and killing a process

From: sqlab:gmx at: 9-Jan-2003 9:26

Hello Maarten Did you suceed trying to start and stop a process. Maarten Koopmans wrote:
> Hi Gregg, > > Thanks! I'll look into those API's > > --maarten
I used win-lib: context [ shell-lib: load/library %shell32.dll execute: make routine! [ hwndParent [integer!] Operation [string!] File [string!] Parameters [string!] Directory [string!] ShowCmd [integer!] return: [integer!] ] shell-lib "ShellExecuteA" kernel-lib: load/library %kernel32.dll terminate: make routine! [ handle [integer!] Exitcode [integer!] return: [integer!] ] kernel-lib "TerminateProcess" ] But I always got 0 (meaning no success) as return value when using terminate. Is there an other and more successful way for ending a process under Windows? AR -- +++ GMX - Mail, Messaging & more +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!