Click here to Skip to main content
15,891,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_2-Jan-12 16:39
Vaclav_2-Jan-12 16:39 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
ThatsAlok3-Jan-12 19:45
ThatsAlok3-Jan-12 19:45 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Chuck O'Toole3-Jan-12 21:38
Chuck O'Toole3-Jan-12 21:38 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
ThatsAlok3-Jan-12 23:12
ThatsAlok3-Jan-12 23:12 
AnswerRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_3-Jan-12 4:55
Vaclav_3-Jan-12 4:55 
AnswerRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
ThatsAlok3-Jan-12 19:43
ThatsAlok3-Jan-12 19:43 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_4-Jan-12 7:16
Vaclav_4-Jan-12 7:16 
AnswerRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
ThatsAlok5-Jan-12 2:44
ThatsAlok5-Jan-12 2:44 
Vaclav_Sal wrote:
have already tried   adding &. The compiler does not like it.
 
          pArray.Add((void*)&OnFunctionkeysCallsate);
 
And here is the error message


ahh i understand, i believe OnFunctionkeysCallsate is the function defined in the class, if yes then you have to put the code like this:-


pArray.Add((void*)&YouClassNameWhereFunctionISDefines::OnFunctionkeysCallsate);

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture


cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You

GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_5-Jan-12 6:08
Vaclav_5-Jan-12 6:08 
Questionclass array, better understanding of it Pin
jkirkerx2-Jan-12 13:14
professionaljkirkerx2-Jan-12 13:14 
AnswerRe: class array, better understanding of it Pin
Richard MacCutchan2-Jan-12 22:02
mveRichard MacCutchan2-Jan-12 22:02 
GeneralRe: class array, better understanding of it Pin
jkirkerx3-Jan-12 7:22
professionaljkirkerx3-Jan-12 7:22 
GeneralRe: class array, better understanding of it Pin
Richard MacCutchan3-Jan-12 22:28
mveRichard MacCutchan3-Jan-12 22:28 
GeneralRe: class array, better understanding of it Pin
jkirkerx4-Jan-12 6:54
professionaljkirkerx4-Jan-12 6:54 
AnswerRe: class array, better understanding of it Pin
Stefan_Lang3-Jan-12 5:26
Stefan_Lang3-Jan-12 5:26 
GeneralRe: class array, better understanding of it Pin
jkirkerx3-Jan-12 7:24
professionaljkirkerx3-Jan-12 7:24 
GeneralRe: class array, better understanding of it Pin
Stefan_Lang3-Jan-12 22:41
Stefan_Lang3-Jan-12 22:41 
GeneralRe: class array, better understanding of it Pin
jkirkerx4-Jan-12 7:08
professionaljkirkerx4-Jan-12 7:08 
QuestionCreateThread Pin
columbos149272-Jan-12 5:14
columbos149272-Jan-12 5:14 
AnswerRe: CreateThread Pin
Richard MacCutchan2-Jan-12 6:18
mveRichard MacCutchan2-Jan-12 6:18 
AnswerRe: CreateThread Pin
Chris Losinger2-Jan-12 6:56
professionalChris Losinger2-Jan-12 6:56 
GeneralRe: CreateThread Pin
Richard MacCutchan2-Jan-12 7:31
mveRichard MacCutchan2-Jan-12 7:31 
GeneralRe: CreateThread Pin
Chris Losinger2-Jan-12 7:34
professionalChris Losinger2-Jan-12 7:34 
GeneralRe: CreateThread Pin
Richard MacCutchan2-Jan-12 21:52
mveRichard MacCutchan2-Jan-12 21:52 
AnswerRe: CreateThread Pin
Rajesh R Subramanian2-Jan-12 7:42
professionalRajesh R Subramanian2-Jan-12 7:42 

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.