This may be a simple one : I created a multi view SDI environment with a custom class. Since Instances of this class need tobe accessible from within each view I declared them in CDoc (regular declaration 'CSkills m_Skills;') but cannot access any of the member function from the views. Funny enough when I start typing 'm_Skills.' the correct list of member functions is displayed but compiling it creates an error message stating that 'm_Skills' is an undeclared identifier.

Should place the declartion somewhere else ? I tried going back to CMainFrm causing a number of Link errors (duplicate declaration of m_Skills in object CDoc ?!?!).

Thank you for your suggestions.

Pras