CDocument Help.
-
Hi. When I created SDI, I have uncheck "Document/View architecture" as I am following this tutorial: http://www.codeproject.com/useritems/SplitWindow.asp?df=100&forumid=335662&select=1996907[^] After I have done the splitter, I add a new class, C3D_VectorDoc, with CDocument as the base class. However, when I use this new class like this: C3D_VectorDoc* pDoc = GetDocument() and compiled, it show me this error: 'C3D_VectorDoc' : undeclared identifier. How can i declare this identifier? Thx.
-
Hi. When I created SDI, I have uncheck "Document/View architecture" as I am following this tutorial: http://www.codeproject.com/useritems/SplitWindow.asp?df=100&forumid=335662&select=1996907[^] After I have done the splitter, I add a new class, C3D_VectorDoc, with CDocument as the base class. However, when I use this new class like this: C3D_VectorDoc* pDoc = GetDocument() and compiled, it show me this error: 'C3D_VectorDoc' : undeclared identifier. How can i declare this identifier? Thx.
the best place to ask that is the article dedicated message board[^] (located at the bottom of the article...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
Hi. When I created SDI, I have uncheck "Document/View architecture" as I am following this tutorial: http://www.codeproject.com/useritems/SplitWindow.asp?df=100&forumid=335662&select=1996907[^] After I have done the splitter, I add a new class, C3D_VectorDoc, with CDocument as the base class. However, when I use this new class like this: C3D_VectorDoc* pDoc = GetDocument() and compiled, it show me this error: 'C3D_VectorDoc' : undeclared identifier. How can i declare this identifier? Thx.
maybe you just have to #include "3D_VectorDoc.h"