Solved

Error messages to be clarified.

Posted on 2000-04-15
1
179 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

785 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