TheMillionDollarMan
Programmer
Hi,
Want to call the view class of my application and send it some data from another class. However I am having problems with the access level of the constructor. It is protected and when I declare a member variable
CLassGLView m_glview;
it tries to call the constructor which is
protected: // create from serialization only
CLassGLView();
DECLARE_DYNCREATE(CLassGLView)
And the error message:
see declaration of 'CLassGLView::CLassGLView'
How can I make this Public?
CLassGLView is derived from the CFormView class.
Thanks
Want to call the view class of my application and send it some data from another class. However I am having problems with the access level of the constructor. It is protected and when I declare a member variable
CLassGLView m_glview;
it tries to call the constructor which is
protected: // create from serialization only
CLassGLView();
DECLARE_DYNCREATE(CLassGLView)
And the error message:
see declaration of 'CLassGLView::CLassGLView'
How can I make this Public?
CLassGLView is derived from the CFormView class.
Thanks