Click here to Skip to main content
16,010,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCCriticalSection question Pin
ChiYung25-Mar-02 16:49
ChiYung25-Mar-02 16:49 
GeneralRe: CCriticalSection question Pin
Nish Nishant25-Mar-02 17:14
sitebuilderNish Nishant25-Mar-02 17:14 
GeneralRe: CCriticalSection question Pin
ChiYung25-Mar-02 19:15
ChiYung25-Mar-02 19:15 
GeneralRe: CCriticalSection question Pin
Nish Nishant25-Mar-02 19:15
sitebuilderNish Nishant25-Mar-02 19:15 
GeneralRe: CCriticalSection question Pin
Michael Dunn25-Mar-02 17:31
sitebuilderMichael Dunn25-Mar-02 17:31 
GeneralExample please....(Re: CCriticalSection question) Pin
ChiYung25-Mar-02 19:03
ChiYung25-Mar-02 19:03 
GeneralRe: Example please....(Re: CCriticalSection question) Pin
Nish Nishant25-Mar-02 19:17
sitebuilderNish Nishant25-Mar-02 19:17 
GeneralRe: Example please....(Re: CCriticalSection question) Pin
ChiYung25-Mar-02 19:30
ChiYung25-Mar-02 19:30 
Nish [BusterBoy] wrote:
Make it a member of the CWinApp derived class.
Now use AfxGetApp(), cast the pointer returned to your CWinApp derived class and access the critical section variable.


I'm not quite understand how to make it a member of the CWinApp, or even make it global. Can you give me some examples??

LOTS OF THANKS!!!!!!!!!
GeneralRe: Example please....(Re: CCriticalSection question) Pin
Gaurika Wijeratne25-Mar-02 22:07
Gaurika Wijeratne25-Mar-02 22:07 
GeneralRe: CCriticalSection question Pin
Neville Franks31-Mar-02 0:42
Neville Franks31-Mar-02 0:42 
QuestionHow to change the bkcolor of a window? Pin
Feng Qin25-Mar-02 15:18
Feng Qin25-Mar-02 15:18 
AnswerRe: How to change the bkcolor of a window? Pin
Michael Dunn25-Mar-02 17:29
sitebuilderMichael Dunn25-Mar-02 17:29 
GeneralVector array question..... Pin
ChiYung25-Mar-02 15:11
ChiYung25-Mar-02 15:11 
GeneralRe: Vector array question..... Pin
Vivek Rajan25-Mar-02 15:10
Vivek Rajan25-Mar-02 15:10 
GeneralHelp me to get the solution Pin
binnu25-Mar-02 15:04
binnu25-Mar-02 15:04 
GeneralRe: Help me to get the solution Pin
PJ Arends25-Mar-02 16:31
professionalPJ Arends25-Mar-02 16:31 
GeneralRe: Help me to get the solution Pin
PJ Arends25-Mar-02 17:18
professionalPJ Arends25-Mar-02 17:18 
GeneralI want to terminate the FOR loop at the middle... Pin
ChiYung25-Mar-02 14:41
ChiYung25-Mar-02 14:41 
GeneralRe: I want to terminate the FOR loop at the middle... Pin
Derek Waters25-Mar-02 14:44
Derek Waters25-Mar-02 14:44 
Generaltimer.. Pin
hkl25-Mar-02 14:14
hkl25-Mar-02 14:14 
GeneralRe: timer.. Pin
Nish Nishant25-Mar-02 14:15
sitebuilderNish Nishant25-Mar-02 14:15 
GeneralRe: timer.. Pin
hkl25-Mar-02 15:29
hkl25-Mar-02 15:29 
GeneralRe: timer.. Pin
Nish Nishant25-Mar-02 16:12
sitebuilderNish Nishant25-Mar-02 16:12 
GeneralRe: timer.. Thank you! :) Pin
hkl25-Mar-02 16:22
hkl25-Mar-02 16:22 
GeneralRe: timer.. Pin
Le centriste26-Mar-02 2:03
Le centriste26-Mar-02 2:03 

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.