Click here to Skip to main content
15,867,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Now none of my .h header file changes seem to take Pin
Richard MacCutchan12-Jan-22 4:36
mveRichard MacCutchan12-Jan-22 4:36 
GeneralRe: Now none of my .h header file changes seem to take Pin
ForNow12-Jan-22 4:40
ForNow12-Jan-22 4:40 
GeneralRe: Now none of my .h header file changes seem to take Pin
Richard MacCutchan12-Jan-22 4:46
mveRichard MacCutchan12-Jan-22 4:46 
GeneralRe: Now none of my .h header file changes seem to take Pin
ForNow12-Jan-22 4:55
ForNow12-Jan-22 4:55 
GeneralRe: Now none of my .h header file changes seem to take Pin
Richard MacCutchan12-Jan-22 5:01
mveRichard MacCutchan12-Jan-22 5:01 
GeneralRe: Now none of my .h header file changes seem to take Pin
ForNow12-Jan-22 5:15
ForNow12-Jan-22 5:15 
Questionheader file not being read (resource.h) Pin
ForNow11-Jan-22 13:29
ForNow11-Jan-22 13:29 
AnswerRe: header file not being read (resource.h) Pin
Mircea Neacsu11-Jan-22 13:38
Mircea Neacsu11-Jan-22 13:38 
I bet it has a comment line
C++
//{{NO_DEPENDENCIES}}
at the very beginning. If so, IntelliSense will not reload the file every time it changes. For more details see: TN035: Using Multiple Resource Files and Header Files with Visual C++ | Microsoft Docs[^]
Quote:
Visual C++, circumvents the dependency on RESOURCE.H by including the following comment as the first line of the RESOURCE.H file:
h

//{{NO_DEPENDENCIES}}

The development environment interprets this comment by ignoring the changes to RESOURCE.H so that dependent .CPP files will not need to be recompiled.


The quick fix is to right-click on the file and select "Rescan > Rescan File"
Mircea

GeneralRe: header file not being read (resource.h) Pin
ForNow11-Jan-22 14:06
ForNow11-Jan-22 14:06 
GeneralRe: header file not being read (resource.h) Pin
ForNow11-Jan-22 14:14
ForNow11-Jan-22 14:14 
AnswerRe: header file not being read (resource.h) Pin
Mircea Neacsu11-Jan-22 15:09
Mircea Neacsu11-Jan-22 15:09 
GeneralRe: header file not being read (resource.h) Pin
ForNow11-Jan-22 16:01
ForNow11-Jan-22 16:01 
QuestionMessage Closed Pin
9-Jan-22 7:59
Member 149687719-Jan-22 7:59 
AnswerRe: Implementing variable length parameter - variadic funetion Pin
k50549-Jan-22 8:38
mvek50549-Jan-22 8:38 
GeneralMessage Closed Pin
9-Jan-22 10:31
Member 149687719-Jan-22 10:31 
GeneralRe: Implementing variable length parameter - variadic funetion Pin
k50549-Jan-22 12:19
mvek50549-Jan-22 12:19 
GeneralRe: Implementing variable length parameter - variadic funetion Pin
Richard Andrew x649-Jan-22 11:30
professionalRichard Andrew x649-Jan-22 11:30 
GeneralRe: Implementing variable length parameter - variadic funetion Pin
k50549-Jan-22 12:24
mvek50549-Jan-22 12:24 
QuestionMessage Closed Pin
8-Jan-22 6:57
Member 149687718-Jan-22 6:57 
SuggestionRe: Help with Bluetooth -seeking assistance with QT implementation of bluez library . Pin
Richard Deeming9-Jan-22 21:27
mveRichard Deeming9-Jan-22 21:27 
Questionvacancy for google programmer with specification variation. (question) Pin
Dev Lil5-Jan-22 9:38
Dev Lil5-Jan-22 9:38 
AnswerRe: vacancy for google programmer with specification variation. (question) Pin
Dave Kreskowiak5-Jan-22 10:40
mveDave Kreskowiak5-Jan-22 10:40 
AnswerRe: vacancy for google programmer with specification variation. (question) Pin
Gerry Schmitz5-Jan-22 11:56
mveGerry Schmitz5-Jan-22 11:56 
AnswerRe: vacancy for google programmer with specification variation. (question) Pin
Stefan_Lang8-Jan-22 4:00
Stefan_Lang8-Jan-22 4:00 
Questionquestion about CDC:Pie Pin
ForNow5-Jan-22 1:55
ForNow5-Jan-22 1:55 

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.