Solved

Error messages to be clarified.

Posted on 2000-04-15
1
183 Views
Last Modified: 2013-11-20
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
Comment
Question by:mkjoshi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
proskig earned 25 total points
ID: 2718872
The compiler does not see the declaration for CMfcDoc. Maybe you wanted to use CDoc?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Host to IP 7 83
Expand data scrubbing tool 13 36
while loop over for loop 7 116
has77  challenge 9 99
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question