Click here to Skip to main content
15,915,050 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get the current row in DataGrid? Pin
Dimkov29-Mar-06 7:12
Dimkov29-Mar-06 7:12 
QuestionClosing multiple processes at once Pin
eprt29-Mar-06 5:05
eprt29-Mar-06 5:05 
AnswerRe: Closing multiple processes at once Pin
David Crow29-Mar-06 5:56
David Crow29-Mar-06 5:56 
GeneralRe: Closing multiple processes at once Pin
eprt29-Mar-06 6:16
eprt29-Mar-06 6:16 
GeneralRe: Closing multiple processes at once Pin
David Crow29-Mar-06 6:35
David Crow29-Mar-06 6:35 
AnswerRe: Closing multiple processes at once Pin
Nemanja Trifunovic29-Mar-06 8:40
Nemanja Trifunovic29-Mar-06 8:40 
GeneralRe: Closing multiple processes at once Pin
David Crow29-Mar-06 9:38
David Crow29-Mar-06 9:38 
AnswerRe: Closing multiple processes at once Pin
Stephen Hewitt29-Mar-06 13:01
Stephen Hewitt29-Mar-06 13:01 
Calling TerminateProcess is meant as a last line of defense - In general it is not safe to go around terminating processes. If you must stop another process the correct technique is to ask it nicely to exit and only fall back on TerminateProcess if this doesn't succeed. See here[^] for some more info on this. If you do call TerminateProcess here's some possible ramifications in order of severity:
 - Nothing bad happens.
 - The program doesn't get a chance to clean up after itself - For example temporary files are left behind undeleted.
 - The process corrupts data. This can occur if, say, the program was interrupted in the middle of an operation that should be atomic.
 - If the process used shared memory, such if often the case when global hooks are used, the global data could be corrupted and effect other processes.


Steve
Questiondialog not in taskbar Pin
viperlogic29-Mar-06 4:55
viperlogic29-Mar-06 4:55 
AnswerRe: dialog not in taskbar Pin
viperlogic29-Mar-06 5:04
viperlogic29-Mar-06 5:04 
AnswerRe: dialog not in taskbar Pin
toxcct29-Mar-06 5:06
toxcct29-Mar-06 5:06 
GeneralRe: dialog not in taskbar Pin
viperlogic29-Mar-06 5:12
viperlogic29-Mar-06 5:12 
QuestionHow to offer aticles here? Pin
includeh1029-Mar-06 4:37
includeh1029-Mar-06 4:37 
AnswerRe: How to offer aticles here? Pin
Gavin Taylor29-Mar-06 4:44
professionalGavin Taylor29-Mar-06 4:44 
GeneralRe: How to offer aticles here? Pin
includeh1029-Mar-06 5:03
includeh1029-Mar-06 5:03 
GeneralRe: How to offer aticles here? Pin
Gavin Taylor29-Mar-06 5:08
professionalGavin Taylor29-Mar-06 5:08 
QuestionCopy contents of a window to the clipboard Pin
anderslundsgard29-Mar-06 4:12
anderslundsgard29-Mar-06 4:12 
AnswerRe: Copy contents of a window to the clipboard Pin
includeh1029-Mar-06 4:24
includeh1029-Mar-06 4:24 
AnswerRe: Copy contents of a window to the clipboard Pin
David Crow29-Mar-06 4:49
David Crow29-Mar-06 4:49 
QuestionWhat is the difference?? Pin
ashwath200529-Mar-06 3:33
ashwath200529-Mar-06 3:33 
AnswerRe: What is the difference?? Pin
toxcct29-Mar-06 3:53
toxcct29-Mar-06 3:53 
AnswerRe: What is the difference?? Pin
includeh1029-Mar-06 4:43
includeh1029-Mar-06 4:43 
QuestionQuestion Pin
big_denny_20029-Mar-06 3:33
big_denny_20029-Mar-06 3:33 
AnswerRe: Question Pin
khan++29-Mar-06 3:50
khan++29-Mar-06 3:50 
GeneralRe: Question Pin
big_denny_20029-Mar-06 3:58
big_denny_20029-Mar-06 3:58 

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.