Hey guys, well first off i'm a new member here. My question is how do you go about killing/stopping a process? Thanks, Clipper34.
Clipper34
0
Newbie Poster
Recommended Answers
Jump to PostWhat Operating System are you on ?
If you are on Unix or Linux then look up the kill() system call here
Jump to PostDepends on the operating system. In MS-Windows just go to Task Manager and stop it.
Jump to PostGood grief. Only use TerminateProcess() to kill the unruly.
Otherwise, just ask it nicely: send it a WM_CLOSE message. If it doesn't respond in, say, 500 ms or so, use CreateRemoteThread() and …
All 11 Replies
stilllearning
148
Posting Whiz
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Clipper34
0
Newbie Poster
stilllearning
148
Posting Whiz
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Clipper34
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Duoas
1,025
Postaholic
Featured Poster
Salem
commented:
Much better ideas
+21
Clipper34
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.