Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2143 Pin
_Flaviu12-Oct-19 23:46
_Flaviu12-Oct-19 23:46 
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 
AnswerRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 21:54
arnold_w9-Oct-19 21:54 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
Richard MacCutchan9-Oct-19 22:10
mveRichard MacCutchan9-Oct-19 22:10 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 22:20
arnold_w9-Oct-19 22:20 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
Richard MacCutchan9-Oct-19 22:36
mveRichard MacCutchan9-Oct-19 22:36 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 23:00
arnold_w9-Oct-19 23:00 
The registers that should be exposed are not contiguous, they appear quite randomly in the address space. Currently, they are ordered in ascending order of the address and it's too late in the development phase to re-number the addresses according to whether they are exposed or not. So, adding a lot of #ifdefs would pollute the code quite a bit and make it much harder to read. I'm a firm believer in having code that easy to read for the human eye.
AnswerRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
CPallini10-Oct-19 3:03
mveCPallini10-Oct-19 3:03 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w10-Oct-19 4:27
arnold_w10-Oct-19 4:27 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
CPallini10-Oct-19 6:12
mveCPallini10-Oct-19 6:12 
QuestionProblem with AlphaBlend. Pin
Member 126614649-Oct-19 6:57
Member 126614649-Oct-19 6:57 
QuestionRe: Problem with AlphaBlend. Pin
Richard MacCutchan9-Oct-19 8:49
mveRichard MacCutchan9-Oct-19 8:49 
AnswerRe: Problem with AlphaBlend. Pin
Member 126614649-Oct-19 9:09
Member 126614649-Oct-19 9:09 
GeneralRe: Problem with AlphaBlend. Pin
Richard MacCutchan9-Oct-19 9:34
mveRichard MacCutchan9-Oct-19 9:34 
QuestionPassing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
arnold_w9-Oct-19 6:07
arnold_w9-Oct-19 6:07 
AnswerRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
k50549-Oct-19 6:48
mvek50549-Oct-19 6:48 
AnswerRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
Richard MacCutchan9-Oct-19 8:47
mveRichard MacCutchan9-Oct-19 8:47 
GeneralRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
arnold_w9-Oct-19 9:14
arnold_w9-Oct-19 9:14 
GeneralRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
Richard MacCutchan9-Oct-19 9:51
mveRichard MacCutchan9-Oct-19 9:51 
AnswerRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
arnold_w9-Oct-19 9:18
arnold_w9-Oct-19 9:18 
QuestionString Table MFC vc++ Pin
Member 145755569-Oct-19 1:59
Member 145755569-Oct-19 1:59 
AnswerRe: String Table MFC vc++ Pin
Member 145755569-Oct-19 2:04
Member 145755569-Oct-19 2:04 
GeneralRe: String Table MFC vc++ Pin
Maximilien9-Oct-19 22:00
Maximilien9-Oct-19 22:00 
GeneralRe: String Table MFC vc++ Pin
Member 145755569-Oct-19 22:20
Member 145755569-Oct-19 22:20 

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.