Click here to Skip to main content
14,661,075 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting breakpoints in source code in manual compile Pin
Albert Holguin12-Feb-16 11:53
professionalAlbert Holguin12-Feb-16 11:53 
GeneralRe: Setting breakpoints in source code in manual compile Pin
jschell19-Feb-16 12:13
Memberjschell19-Feb-16 12:13 
GeneralRe: Setting breakpoints in source code in manual compile Pin
Albert Holguin22-Feb-16 14:46
professionalAlbert Holguin22-Feb-16 14:46 
GeneralRe: Setting breakpoints in source code in manual compile Pin
jschell6-Mar-16 6:09
Memberjschell6-Mar-16 6:09 
GeneralRe: Setting breakpoints in source code in manual compile Pin
Albert Holguin6-Mar-16 8:48
professionalAlbert Holguin6-Mar-16 8:48 
GeneralRe: Setting breakpoints in source code in manual compile Pin
jschell31-Mar-16 9:02
Memberjschell31-Mar-16 9:02 
QuestionVS2008 Total bitching weirdness - ever seen a message about the compiler driver? Pin
charlieg2-Feb-16 8:30
Membercharlieg2-Feb-16 8:30 
AnswerRe: VS2008 Total bitching weirdness - ever seen a message about the compiler driver? Pin
Jochen Arndt2-Feb-16 21:24
professionalJochen Arndt2-Feb-16 21:24 
I have never seen that message but had similar problems with older VS versions. You don't need to reboot when using the SysInternals Handle[^] or Process Explorer[^] utility to close the file handle.

Using Handle (for the command line purist)


Execute handle with the file name as parameter to get the handle and the process ID of the application that has opened it:
handle src.cpp

The output looks like this (98C is the handle as hex number):
<app>.exe       pid: 2328   type: File           98C: <path>\src.cpp

Then execute handle again with the -c and -p options to close it:
handle -c 98C -p 2328

Using Process Explorer (for the friend of mice)


To close the handle using the ProcessExplorer, search for the file name (Ctrl+F or the Find menu), double click on the found item so that it is selected in the main window, right click on the item in the main window to open the context menu, and choose 'Close Handle'.

Warning


The usual disclaimer:
Close only files of processes that are no longer working (has been killed or exited upon critical errors)!
GeneralRe: VS2008 Total bitching weirdness - ever seen a message about the compiler driver? Pin
charlieg3-Feb-16 5:18
Membercharlieg3-Feb-16 5:18 
QuestionCreating a CListbox manually ends up with corrupted HWND. [FIXED] Pin
Maximilien1-Feb-16 3:49
MemberMaximilien1-Feb-16 3:49 
AnswerRe: Creating a CListbox manually ends up with corrupted HWND. Pin
Bram van Kampen1-Feb-16 14:55
MemberBram van Kampen1-Feb-16 14:55 
QuestionCatching User Activity Pin
Bram van Kampen30-Jan-16 15:10
MemberBram van Kampen30-Jan-16 15:10 
SuggestionRe: Catching User Activity Pin
Richard MacCutchan30-Jan-16 21:18
mveRichard MacCutchan30-Jan-16 21:18 
GeneralRe: Catching User Activity Pin
Bram van Kampen31-Jan-16 12:21
MemberBram van Kampen31-Jan-16 12:21 
GeneralRe: Catching User Activity Pin
Richard MacCutchan31-Jan-16 21:22
mveRichard MacCutchan31-Jan-16 21:22 
GeneralRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 16:14
MemberBram van Kampen1-Feb-16 16:14 
GeneralRe: Catching User Activity Pin
Richard MacCutchan1-Feb-16 21:46
mveRichard MacCutchan1-Feb-16 21:46 
AnswerRe: Catching User Activity Pin
Jochen Arndt30-Jan-16 22:03
professionalJochen Arndt30-Jan-16 22:03 
GeneralRe: Catching User Activity Pin
Bram van Kampen31-Jan-16 12:44
MemberBram van Kampen31-Jan-16 12:44 
GeneralRe: Catching User Activity Pin
Jochen Arndt31-Jan-16 22:42
professionalJochen Arndt31-Jan-16 22:42 
PraiseRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 15:28
MemberBram van Kampen1-Feb-16 15:28 
SuggestionRe: Catching User Activity Pin
David Crow31-Jan-16 15:48
MemberDavid Crow31-Jan-16 15:48 
GeneralRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 15:18
MemberBram van Kampen1-Feb-16 15:18 
QuestionDid some one use Eigen or Armadillo library to do calculation? Pin
smallkubi28-Jan-16 22:31
Membersmallkubi28-Jan-16 22:31 
AnswerRe: Did some one use Eigen or Armadillo library to do calculation? Pin
Jochen Arndt28-Jan-16 23:18
professionalJochen Arndt28-Jan-16 23:18 

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.