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

C / C++ / MFC

 
GeneralRe: Extract information from a List class (Win32 API question) Pin
David Crow7-Nov-06 2:49
David Crow7-Nov-06 2:49 
GeneralRe: Extract information from a List class (Win32 API question) Pin
Leprechaun787-Nov-06 3:55
Leprechaun787-Nov-06 3:55 
GeneralRe: Extract information from a List class (Win32 API question) Pin
David Crow7-Nov-06 4:03
David Crow7-Nov-06 4:03 
GeneralRe: Extract information from a List class (Win32 API question) Pin
Leprechaun788-Nov-06 2:16
Leprechaun788-Nov-06 2:16 
GeneralRe: Extract information from a List class (Win32 API question) Pin
David Crow8-Nov-06 2:47
David Crow8-Nov-06 2:47 
GeneralRe: Extract information from a List class (Win32 API question) Pin
Leprechaun788-Nov-06 3:15
Leprechaun788-Nov-06 3:15 
Questionpuzzled by the following calss defination Pin
cy163@hotmail.com6-Nov-06 3:31
cy163@hotmail.com6-Nov-06 3:31 
AnswerRe: puzzled by the following calss defination Pin
Cedric Moonen6-Nov-06 3:37
Cedric Moonen6-Nov-06 3:37 
cy163@hotmail.com wrote:
Can we treat 'm_pCalcNext', 'm_pCalcFinished' 'm_pTerminateThread' and 'm_iCurrentPrime' as four member variables of public type of the class


Why public ? They are private pointers which are instancied in the constructor (at the line you don't understand). Each of this pointers is a pointer to a CEvent class, and a CEvent class require two parameters for its constructor (I didn't look in detail, but it seems by seing the line you posted).

In fact this part of the line: m_pCalcNext( new CEvent( FALSE, FALSE ) ) is more or less equal to m_pCalcNext = new CEvent(FALSE,FALSE); in the body of the constructor.

So what do you don't understand exactly ?


Cédric Moonen
Software developer

Charting control [Updated - v1.1]

GeneralRe: puzzled by the following calss defination Pin
led mike6-Nov-06 4:24
led mike6-Nov-06 4:24 
GeneralRe: puzzled by the following calss defination Pin
Cedric Moonen6-Nov-06 4:38
Cedric Moonen6-Nov-06 4:38 
GeneralRe: puzzled by the following calss defination Pin
led mike6-Nov-06 4:54
led mike6-Nov-06 4:54 
AnswerRe: puzzled by the following calss defination Pin
toxcct6-Nov-06 5:03
toxcct6-Nov-06 5:03 
QuestionEntrypoint problem in my project Pin
Raghavendra Pise6-Nov-06 3:12
Raghavendra Pise6-Nov-06 3:12 
AnswerRe: Entrypoint problem in my project Pin
Mark Salsbery6-Nov-06 6:55
Mark Salsbery6-Nov-06 6:55 
QuestionSetDiBitsToDevice() Pin
Waldermort6-Nov-06 3:06
Waldermort6-Nov-06 3:06 
AnswerRe: SetDiBitsToDevice() Pin
Chris Losinger6-Nov-06 3:19
professionalChris Losinger6-Nov-06 3:19 
GeneralRe: SetDiBitsToDevice() Pin
Waldermort6-Nov-06 3:35
Waldermort6-Nov-06 3:35 
GeneralRe: SetDiBitsToDevice() Pin
Waldermort6-Nov-06 4:11
Waldermort6-Nov-06 4:11 
Questionhow to call a function a scheduled time? Pin
Banks K6-Nov-06 3:03
Banks K6-Nov-06 3:03 
AnswerRe: how to call a function a scheduled time? Pin
benjymous6-Nov-06 3:24
benjymous6-Nov-06 3:24 
AnswerRe: how to call a function a scheduled time? Pin
David Crow6-Nov-06 3:59
David Crow6-Nov-06 3:59 
AnswerRe: how to call a function a scheduled time? Pin
led mike6-Nov-06 4:27
led mike6-Nov-06 4:27 
AnswerRe: how to call a function a scheduled time? Pin
prasad_som6-Nov-06 19:05
prasad_som6-Nov-06 19:05 
AnswerRe: how to call a function a scheduled time? Pin
Blake Miller7-Nov-06 3:53
Blake Miller7-Nov-06 3:53 
QuestionPlease help ! Pin
Bravoone_20066-Nov-06 3:01
Bravoone_20066-Nov-06 3:01 

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.