Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CDocument Help.

CDocument Help.

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestioncomarchitecturetutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aint
    wrote on last edited by
    #1

    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.

    T A 2 Replies Last reply
    0
    • A Aint

      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.

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      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]

      1 Reply Last reply
      0
      • A Aint

        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.

        A Offline
        A Offline
        Alexandre GRANVAUD
        wrote on last edited by
        #3

        maybe you just have to #include "3D_VectorDoc.h"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups