Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMacros Pin
koumodaki4-Apr-07 4:31
koumodaki4-Apr-07 4:31 
AnswerRe: Macros Pin
Ravi Bhavnani4-Apr-07 4:38
professionalRavi Bhavnani4-Apr-07 4:38 
GeneralRe: Macros Pin
koumodaki4-Apr-07 4:49
koumodaki4-Apr-07 4:49 
AnswerRe: Macros Pin
Ranjoy Guha4-Apr-07 4:56
Ranjoy Guha4-Apr-07 4:56 
GeneralRe: Macros Pin
koumodaki4-Apr-07 5:34
koumodaki4-Apr-07 5:34 
QuestionCRITICAL_SECTION Question Pin
ScotDolan4-Apr-07 4:09
ScotDolan4-Apr-07 4:09 
AnswerRe: CRITICAL_SECTION Question Pin
Blake Miller4-Apr-07 4:29
Blake Miller4-Apr-07 4:29 
AnswerRe: CRITICAL_SECTION Question Pin
Roger Stoltz4-Apr-07 4:37
Roger Stoltz4-Apr-07 4:37 
The only situation where it can be justified to answer 'no' to that question would be if the variables was never written to.
Since you are writing to the variables at different places in your code snippet, you have to protect the data, i.e. you need the calls to ::EnterCriticalSection() and ::LeaveCriticalSection() at the places you were wondering about.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

QuestionCToolBarCtrl::SetRows Pin
Try4-Apr-07 3:44
Try4-Apr-07 3:44 
AnswerRe: CToolBarCtrl::SetRows Pin
Ravi Bhavnani4-Apr-07 4:41
professionalRavi Bhavnani4-Apr-07 4:41 
GeneralRe: CToolBarCtrl::SetRows Pin
Try4-Apr-07 4:48
Try4-Apr-07 4:48 
AnswerRe: CToolBarCtrl::SetRows Pin
Ranjoy Guha4-Apr-07 4:49
Ranjoy Guha4-Apr-07 4:49 
Question[Urgent]Minimize window clicking task bar button [modified] Pin
ksrameshkanth4-Apr-07 3:44
ksrameshkanth4-Apr-07 3:44 
AnswerRe: [Urgent]Minimize window clicking task bar button Pin
Try4-Apr-07 4:17
Try4-Apr-07 4:17 
GeneralRe: [Urgent]Minimize window clicking task bar button Pin
ksrameshkanth4-Apr-07 4:25
ksrameshkanth4-Apr-07 4:25 
Questionfunction malloc() on c++ ...can you help me please... Pin
lavy28834-Apr-07 3:32
lavy28834-Apr-07 3:32 
AnswerRe: function malloc() on c++ ...can you help me please... Pin
Michael Dunn4-Apr-07 3:42
sitebuilderMichael Dunn4-Apr-07 3:42 
GeneralRe: function malloc() on c++ ...can you help me please... Pin
lavy28834-Apr-07 4:10
lavy28834-Apr-07 4:10 
GeneralRe: function malloc() on c++ ...can you help me please... Pin
Michael Dunn4-Apr-07 4:20
sitebuilderMichael Dunn4-Apr-07 4:20 
GeneralRe: function malloc() on c++ ...can you help me please... Pin
David Crow4-Apr-07 4:28
David Crow4-Apr-07 4:28 
GeneralRe: function malloc() on c++ ...can you help me please... Pin
lavy28834-Apr-07 4:33
lavy28834-Apr-07 4:33 
Questionstatic variables in MFC Pin
iayd4-Apr-07 3:17
iayd4-Apr-07 3:17 
AnswerRe: static variables in MFC Pin
David Crow4-Apr-07 3:32
David Crow4-Apr-07 3:32 
AnswerRe: static variables in MFC Pin
Eytukan4-Apr-07 3:33
Eytukan4-Apr-07 3:33 
GeneralRe: static variables in MFC Pin
David Crow4-Apr-07 3:45
David Crow4-Apr-07 3:45 

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.