Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Error messages to be clarified.

HI,
 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
....
}
0
mkjoshi
Asked:
mkjoshi
1 Solution
 
proskigCommented:
The compiler does not see the declaration for CMfcDoc. Maybe you wanted to use CDoc?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now