Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TerminateProcess()
Message
From
15/12/2003 14:57:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
TerminateProcess()
Miscellaneous
Thread ID:
00859248
Message ID:
00859248
Views:
70
Hi All,

I'm trying to Terminate a Process. More specifically, I want to have 1 Executable program turn off an other Executable program. I am able to get the ProcessId. The value I get is the same as the one I see associated with the executable in the Task Manager. I then try to pass that number to "TerminateProcess()" This returns 2. And the executable is still running.

Am I passing the right value? Are there more that 1 Process IDs per Executable?

TIA
Mike

P.S. VFP6 SP5 Win2000.
Next
Reply
Map
View

Click here to load this message in the networking platform