Skip to main content
gamedev.net
🔒 Locked

Multiple view error

Started by main_cpp Aug 11, 2003 at 4:38 AM 1 replies 250+ views
Original Post
main_cpp
main_cpp
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
Metus
Metus
well it seems that the class CEditorDoc is unknown.
look for the include-preprocessor diective for CEditorDoc

#include "CEditorDoc.h"... ?
Ethereal
main_cpp
main_cpp
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.