Click here to Skip to main content
15,891,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TerminateProcess() Pin
Joe Woodbury31-Mar-09 13:04
professionalJoe Woodbury31-Mar-09 13:04 
GeneralRe: TerminateProcess() Pin
gamefreak229131-Mar-09 13:12
gamefreak229131-Mar-09 13:12 
GeneralRe: TerminateProcess() Pin
Joe Woodbury31-Mar-09 13:38
professionalJoe Woodbury31-Mar-09 13:38 
GeneralRe: TerminateProcess() Pin
gamefreak229131-Mar-09 20:14
gamefreak229131-Mar-09 20:14 
GeneralRe: TerminateProcess() Pin
Iain Clarke, Warrior Programmer31-Mar-09 22:50
Iain Clarke, Warrior Programmer31-Mar-09 22:50 
GeneralRe: TerminateProcess() Pin
Joe Woodbury1-Apr-09 5:28
professionalJoe Woodbury1-Apr-09 5:28 
AnswerRe: TerminateProcess() Pin
gamefreak229131-Mar-09 20:20
gamefreak229131-Mar-09 20:20 
GeneralRe: TerminateProcess() Pin
Stuart Dootson31-Mar-09 20:29
professionalStuart Dootson31-Mar-09 20:29 
You can't do what you want. system doesn't give you back the identity of your process, so you have no way to (later) control it. You have to use some other mechanism to create the process, like (as Joe suggested) CreateProcess, which does give you the process identity (through the PID and a process handle in the case of CreateProcess).

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

RantRe: TerminateProcess() Pin
Iain Clarke, Warrior Programmer31-Mar-09 22:58
Iain Clarke, Warrior Programmer31-Mar-09 22:58 
Questiontapi Pin
Member 47646831-Mar-09 8:38
Member 47646831-Mar-09 8:38 
AnswerRe: tapi Pin
Joe Woodbury31-Mar-09 9:47
professionalJoe Woodbury31-Mar-09 9:47 
GeneralRe: tapi Pin
Member 4764681-Apr-09 6:45
Member 4764681-Apr-09 6:45 
GeneralRe: tapi Pin
Joe Woodbury1-Apr-09 8:38
professionalJoe Woodbury1-Apr-09 8:38 
GeneralRe: tapi Pin
Member 4764682-Apr-09 4:45
Member 4764682-Apr-09 4:45 
QuestionRe: tapi Pin
David Crow1-Apr-09 3:31
David Crow1-Apr-09 3:31 
AnswerRe: tapi Pin
Member 4764681-Apr-09 6:47
Member 4764681-Apr-09 6:47 
QuestionRe: tapi Pin
David Crow1-Apr-09 7:15
David Crow1-Apr-09 7:15 
QuestionMultiple Inheritance question Pin
ForNow31-Mar-09 6:41
ForNow31-Mar-09 6:41 
AnswerRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 7:10
professionalStuart Dootson31-Mar-09 7:10 
GeneralRe: Multiple Inheritance question Pin
ForNow31-Mar-09 16:24
ForNow31-Mar-09 16:24 
GeneralRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 20:23
professionalStuart Dootson31-Mar-09 20:23 
GeneralRe: Multiple Inheritance question code worked Pin
ForNow31-Mar-09 18:11
ForNow31-Mar-09 18:11 
AnswerRe: Multiple Inheritance question Pin
Joe Woodbury31-Mar-09 8:11
professionalJoe Woodbury31-Mar-09 8:11 
GeneralRe: Multiple Inheritance question Pin
Stuart Dootson31-Mar-09 12:22
professionalStuart Dootson31-Mar-09 12:22 
GeneralRe: Multiple Inheritance question Pin
ForNow31-Mar-09 15:32
ForNow31-Mar-09 15:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.