Error messages to be clarified.

 I am getting following errors can you tell me the solution to getrid of these.
1)syntax error : missing ';' before '*'
2)'CMfcDoc' : missing storage-class or type specifiers
3)'GetDocument' : missing storage-class or type specifiers

Place where it is happening is
class CForm1 : public CFormView
{ ....

      public :
            CMfcDoc* GetDocument();// non-debug version is inline
Who is Participating?
proskigConnect With a Mentor Commented:
The compiler does not see the declaration for CMfcDoc. Maybe you wanted to use CDoc?
All Courses

From novice to tech pro — start learning today.