Archived

This topic is now archived and is closed to further replies.

main_cpp

Multiple view error

Recommended Posts

main_cpp    122
Hello! I''m trying to make a multiple view application. I''m using the article Creating 3D Tools with MFC http://www.gamedev.net/reference/articles/article1358.asp When I run the project I get those next errors: Compiling... MainFrm.cpp error C2143: syntax error : missing '';'' before ''*'' error C2501: ''CEditorDoc'' : missing storage-class or type specifiers error C2501: ''GetDocument'' : missing storage-class or type specifiers Error executing cl.exe. Editor.exe - 3 error(s), 0 warning(s) Hope someone can help thanx

Share this post


Link to post
Share on other sites
Metus    168
well it seems that the class CEditorDoc is unknown.
look for the include-preprocessor diective for CEditorDoc

#include "CEditorDoc.h"... ?

Share this post


Link to post
Share on other sites
main_cpp    122
now it works.

it didn''t work because i put the #include "EditorDoc.h" after #include "EditorView.h"

now i putted it before and it works.

thanx

Share this post


Link to post
Share on other sites