| | |
terminating a process on vista
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
i have some code to kill a process
what happens is so the process freezes and starts eating up the processor... so i i try to terminate it, but it only goes white and that box pops up that says "bla bla bla" stopped working...
is there any way around this?
C++ Syntax (Toggle Plain Text)
TerminateProcess((HANDLE)sinfo->process->Handle, 0);
is there any way around this?
this.love(*);
&hea/rts;
&hea/rts;
•
•
•
•
Vistas rediculous overhead such as data execution prevention
Secondly, it has very little overhead and is a key security feature in any modern system, as it helps prevent buffer overrun exploits (which account for the majority of windows security scares)
Do your homework before speaking in future.
•
•
•
•
some other security 'feature'
(terminate a process) is not something you want to happen maliciously by any user-executed application. Such requests should not be performed automatically without a) the correct privileges and b)implicit user approval
RE: The OP's problem
a) what do you mean by "so i i try to terminate it, but it only goes white" - be more specific
b) when you say "that box pops up that says "bla bla bla" stopped working..." do you mean that the program is indeed terminated successfully?
If the process is terminated unclealy, its the windows default configuration to give such an error message.
Last edited by jbennet; Apr 24th, 2009 at 10:03 pm.
If i am helpful, please give me reputation points.
•
•
•
•
a) what do you mean by "so i i try to terminate it, but it only goes white" - be more specific
b) when you say "that box pops up that says "bla bla bla" stopped working..." do you mean that the program is indeed terminated successfully?
If the process is terminated unclealy, its the windows default configuration to give such an error message.
this.love(*);
&hea/rts;
&hea/rts;
![]() |
Similar Threads
- Browser opening by itself. (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: Reading data from another file difficulty
- Next Thread: Ofstream Question
| Thread Tools | Search this Thread |
api array based beginner bitmap c++ c/c++ calculator char class classes code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number output parameter pointer problem program programming project python random read recursion recursive return sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






