hi
how can i terminate a process using vc++
i check somewhere and i found TerminateProcess function
but this is not useful to terminate a process by it's name[for example notepad.exe]
i hope you help me
kiuhnmgrtdcv
0
Newbie Poster
Recommended Answers
Jump to PostA google search before posting always helps.
Anyways check this code out.
http://forums.devx.com/showthread.php?t=154478
Jump to PostThere could be more than one copy of notepad.exe running you know.
See EnumProcesses, example here: http://msdn.microsoft.com/en-us/library/ms682623(VS.85).aspx
All 6 Replies
Sky Diploma
571
Practically a Posting Shark
kiuhnmgrtdcv
0
Newbie Poster
Sky Diploma
571
Practically a Posting Shark
kiuhnmgrtdcv
0
Newbie Poster
kiuhnmgrtdcv
0
Newbie Poster
rbv
5
Newbie 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.