Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Mutiple port read/write in VC++ Pin
Cedric Moonen23-Jul-08 21:23
Cedric Moonen23-Jul-08 21:23 
GeneralRe: Mutiple port read/write in VC++ Pin
sunny_vc23-Jul-08 21:41
sunny_vc23-Jul-08 21:41 
GeneralRe: Mutiple port read/write in VC++ Pin
Cedric Moonen23-Jul-08 21:45
Cedric Moonen23-Jul-08 21:45 
GeneralRe: Mutiple port read/write in VC++ Pin
killabyte23-Jul-08 22:23
killabyte23-Jul-08 22:23 
Questionhow to handle Vertical scrollBar in a DialogBar Pin
pallaka23-Jul-08 21:12
pallaka23-Jul-08 21:12 
AnswerRe: how to handle Vertical scrollBar in a DialogBar Pin
Cedric Moonen23-Jul-08 21:55
Cedric Moonen23-Jul-08 21:55 
Questionerror C2248: 'query' - trying to access protected members of base class from thread Pin
ptr_Electron23-Jul-08 21:08
ptr_Electron23-Jul-08 21:08 
AnswerRe: error C2248: 'query' - trying to access protected members of base class from thread Pin
Cedric Moonen23-Jul-08 21:16
Cedric Moonen23-Jul-08 21:16 
First question: why do you package the this pointer in a THREADSTRUCT structure if you only need to pass the pointer ? Just pass the this pointer, this will make things a bit more readable.

I guess query is a protected member function of DerivedDialog ? Your names are not consistent: you replaced some of them so we can't understand everything.

Anyway the error message should be clear enough: you are trying to access a protected method from one class from another class, which is not allowed. Make the function public if you need to access it from another class.

And please read the poisting guidelines before posting: format the code properly so that it is more readable. It's been a while that you are on this forum...

Cédric Moonen
Software developer

Charting control [v1.4]
OpenGL game tutorial in C++

GeneralRe: error C2248: 'query' - trying to access protected members of base class from thread Pin
ptr_Electron23-Jul-08 21:26
ptr_Electron23-Jul-08 21:26 
AnswerRe: error C2248: 'query' - trying to access protected members of base class from thread Pin
David Crow24-Jul-08 3:14
David Crow24-Jul-08 3:14 
QuestionFAQ Pin
pooja_friends23-Jul-08 20:57
pooja_friends23-Jul-08 20:57 
AnswerRe: FAQ Pin
Cedric Moonen23-Jul-08 21:03
Cedric Moonen23-Jul-08 21:03 
AnswerRe: FAQ Pin
CPallini23-Jul-08 21:12
mveCPallini23-Jul-08 21:12 
AnswerRe: FAQ Pin
David Crow24-Jul-08 3:15
David Crow24-Jul-08 3:15 
Questionremove system default icon from message box Pin
VCProgrammer23-Jul-08 20:54
VCProgrammer23-Jul-08 20:54 
AnswerRe: remove system default icon from message box Pin
Cedric Moonen23-Jul-08 21:01
Cedric Moonen23-Jul-08 21:01 
GeneralRe: remove system default icon from message box Pin
VCProgrammer23-Jul-08 21:09
VCProgrammer23-Jul-08 21:09 
GeneralRe: remove system default icon from message box Pin
Cedric Moonen23-Jul-08 21:26
Cedric Moonen23-Jul-08 21:26 
Questionrunas Pin
pooja_friends23-Jul-08 20:51
pooja_friends23-Jul-08 20:51 
AnswerRe: runas Pin
Naveen23-Jul-08 21:07
Naveen23-Jul-08 21:07 
GeneralRe: runas Pin
pooja_friends24-Jul-08 0:15
pooja_friends24-Jul-08 0:15 
GeneralRe: runas Pin
Graham Bradshaw24-Jul-08 2:46
Graham Bradshaw24-Jul-08 2:46 
GeneralRe: runas Pin
pooja_friends24-Jul-08 3:21
pooja_friends24-Jul-08 3:21 
GeneralRe: runas Pin
Graham Bradshaw24-Jul-08 3:32
Graham Bradshaw24-Jul-08 3:32 
QuestionPrinting Problem for USB Pin
S_Murali23-Jul-08 20:42
S_Murali23-Jul-08 20: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.