Click here to Skip to main content
15,892,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSuccessful Debug Build, but got Errors during Release Build Pin
PankajB3-Apr-09 21:23
PankajB3-Apr-09 21:23 
AnswerRe: Successful Debug Build, but got Errors during Release Build Pin
Cedric Moonen3-Apr-09 22:28
Cedric Moonen3-Apr-09 22:28 
GeneralRe: Successful Debug Build, but got Errors during Release Build Pin
PankajB3-Apr-09 22:58
PankajB3-Apr-09 22:58 
GeneralRe: Successful Debug Build, but got Errors during Release Build Pin
Iain Clarke, Warrior Programmer3-Apr-09 23:32
Iain Clarke, Warrior Programmer3-Apr-09 23:32 
GeneralRe: Successful Debug Build, but got Errors during Release Build Pin
PankajB4-Apr-09 0:57
PankajB4-Apr-09 0:57 
GeneralRe: Successful Debug Build, but got Errors during Release Build Pin
PankajB4-Apr-09 2:44
PankajB4-Apr-09 2:44 
GeneralRe: Successful Debug Build, but got Errors during Release Build Pin
Joseph Marzbani4-Apr-09 4:02
Joseph Marzbani4-Apr-09 4:02 
QuestionIs it possible to get individual properties from a specific Flag value in VC++? Pin
Joseph Marzbani3-Apr-09 20:55
Joseph Marzbani3-Apr-09 20:55 
I must admit the title is NOT clear at all. Smile | :)

As you know, using spy++ you can inspect messages sent to a specific widow in a human-favor manner. Now suppose you have a program being debugged and there's a variable representing a few properties. See the following variable contains BOLD, ITALIC and UNDERLINE status of a character:

DWORD dwFlags;

...

if (dwFlags & BOLD)
{
 // do some thing
}

...

dwFlags |= ITALIC;

...


But my problem is this variable looks like some thing like 0x2F284A08 in the debug window and it's difficult to say which flags are set at the moment. Could you show a better way to consider this kind of variables?

Thank you masters!

QuestionHelp Please!!! Pin
angel.monkey3-Apr-09 20:54
angel.monkey3-Apr-09 20:54 
AnswerRe: Help Please!!! Pin
Joseph Marzbani3-Apr-09 21:03
Joseph Marzbani3-Apr-09 21:03 
GeneralRe: Help Please!!! Pin
angel.monkey3-Apr-09 21:14
angel.monkey3-Apr-09 21:14 
AnswerRe: Help Please!!! - Warning, long reply! Pin
Iain Clarke, Warrior Programmer3-Apr-09 23:16
Iain Clarke, Warrior Programmer3-Apr-09 23:16 
AnswerRe: Help Please!!! Pin
Rajesh R Subramanian3-Apr-09 23:22
professionalRajesh R Subramanian3-Apr-09 23:22 
GeneralRe: Help Please!!! Pin
Iain Clarke, Warrior Programmer3-Apr-09 23:28
Iain Clarke, Warrior Programmer3-Apr-09 23:28 
GeneralRe: Help Please!!! Pin
Rajesh R Subramanian3-Apr-09 23:35
professionalRajesh R Subramanian3-Apr-09 23:35 
GeneralOT - Re: Help Please!!! Pin
Iain Clarke, Warrior Programmer3-Apr-09 23:47
Iain Clarke, Warrior Programmer3-Apr-09 23:47 
GeneralRe: OT - Re: Help Please!!! Pin
Rajesh R Subramanian4-Apr-09 0:45
professionalRajesh R Subramanian4-Apr-09 0:45 
GeneralRe: OT - Re: Help Please!!! [modified] Pin
angel.monkey4-Apr-09 10:06
angel.monkey4-Apr-09 10:06 
GeneralRe: OT - Re: Help Please!!! Pin
Iain Clarke, Warrior Programmer5-Apr-09 22:31
Iain Clarke, Warrior Programmer5-Apr-09 22:31 
GeneralRe: Help Please!!! [modified] Pin
Sauce!4-Apr-09 17:00
Sauce!4-Apr-09 17:00 
GeneralRe: Help Please!!! Pin
Rajesh R Subramanian5-Apr-09 2:49
professionalRajesh R Subramanian5-Apr-09 2:49 
QuestionUSB Drive Pin
MsmVc3-Apr-09 18:23
MsmVc3-Apr-09 18:23 
AnswerRe: USB Drive Pin
Iain Clarke, Warrior Programmer3-Apr-09 23:29
Iain Clarke, Warrior Programmer3-Apr-09 23:29 
QuestionHow can i call a function with a CString variable ? Pin
SNArruda3-Apr-09 16:57
SNArruda3-Apr-09 16:57 
AnswerRe: How can i call a function with a CString variable ? Pin
Divyang Mithaiwala3-Apr-09 21:16
Divyang Mithaiwala3-Apr-09 21:16 

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.