Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 4:43
Victor Nijegorodov11-Oct-19 4:43 
QuestionRe: CCombobox MFC vc++ Pin
David Crow11-Oct-19 6:47
David Crow11-Oct-19 6:47 
AnswerRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 7:27
Victor Nijegorodov11-Oct-19 7:27 
GeneralRe: CCombobox MFC vc++ Pin
Member 1457555612-Oct-19 16:59
Member 1457555612-Oct-19 16:59 
GeneralRe: CCombobox MFC vc++ Pin
Victor Nijegorodov13-Oct-19 20:27
Victor Nijegorodov13-Oct-19 20:27 
AnswerRe: CCombobox MFC vc++ Pin
Richard MacCutchan11-Oct-19 3:17
mveRichard MacCutchan11-Oct-19 3:17 
GeneralRe: CCombobox MFC vc++ Pin
Member 1457555612-Oct-19 18:26
Member 1457555612-Oct-19 18:26 
GeneralRe: CCombobox MFC vc++ Pin
Richard MacCutchan12-Oct-19 20:54
mveRichard MacCutchan12-Oct-19 20:54 
Questionerror C2143 Pin
_Flaviu10-Oct-19 3:41
_Flaviu10-Oct-19 3:41 
AnswerRe: error C2143 Pin
Richard MacCutchan10-Oct-19 4:21
mveRichard MacCutchan10-Oct-19 4:21 
AnswerRe: error C2143 Pin
CPallini10-Oct-19 6:14
mveCPallini10-Oct-19 6:14 
GeneralRe: error C2143 Pin
_Flaviu10-Oct-19 19:47
_Flaviu10-Oct-19 19:47 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 0:29
_Flaviu11-Oct-19 0:29 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 0:55
mveRichard MacCutchan11-Oct-19 0:55 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 1:08
_Flaviu11-Oct-19 1:08 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 1:24
mveRichard MacCutchan11-Oct-19 1:24 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 4:28
_Flaviu11-Oct-19 4:28 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 5:04
mveRichard MacCutchan11-Oct-19 5:04 
GeneralRe: error C2143 Pin
leon de boer15-Oct-19 2:58
leon de boer15-Oct-19 2:58 
AnswerRe: error C2143 Pin
David Crow10-Oct-19 10:44
David Crow10-Oct-19 10:44 
AnswerRe: error C2143 Pin
Daniel Pfeffer11-Oct-19 4:47
professionalDaniel Pfeffer11-Oct-19 4:47 
GeneralRe: error C2143 Pin
_Flaviu12-Oct-19 23:44
_Flaviu12-Oct-19 23:44 
GeneralRe: error C2143 Pin
_Flaviu12-Oct-19 23:46
_Flaviu12-Oct-19 23:46 
I have put that option on property page settings and show me no more details: The error occur in inode.cpp file (former inode.c file), and those macros are in support.h file.

So, when I compiled with /P option, I got only inode.i file, where I have a line:

C++
#line 1 "d:\\project\\.......\\inode.cpp"

that is all. And support.i doesn't generated, due to error:
C++
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
...
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
...
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
...


The problem is the code is trying to use TestAndClearDirty(ni); for returning BOOL value, and I don't think that macro is written to return a BOOL value ... I guess from here is coming these errors ...

modified 14-Oct-19 4:54am.

QuestionHow can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 11:55
arnold_w9-Oct-19 11:55 
QuestionRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
Richard MacCutchan9-Oct-19 21:41
mveRichard MacCutchan9-Oct-19 21:41 

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.