Jump to content
  • Advertisement

Archived

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

main_cpp

Multiple view error

This topic is 5425 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!