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. Undefined class name!

Undefined class name!

Scheduled Pinned Locked Moved C / C++ / MFC
4 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.
  • H Offline
    H Offline
    Hakan Bulut
    wrote on last edited by
    #1

    class CCombObj : public CObject { public: DECLARE_SERIAL( CCombObj ) class CProCombObj : public CCombObj

    CPalliniC N 2 Replies Last reply
    0
    • H Hakan Bulut

      class CCombObj : public CObject { public: DECLARE_SERIAL( CCombObj ) class CProCombObj : public CCombObj

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      The error message in fact is clear: CCombObj symbol is undefined in the source currently under compilation. Maybe you've included definition for class CProCombObj but not for CCombObj. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      [my articles]

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • H Hakan Bulut

        class CCombObj : public CObject { public: DECLARE_SERIAL( CCombObj ) class CProCombObj : public CCombObj

        N Offline
        N Offline
        Nitheesh George
        wrote on last edited by
        #3

        Error is clear. because from the code u have given CProCombObj is a nested class in CCombObj. ie the complete definition of CCombObj is unknown for the complier when it find the following class declaration statement. class CProCombObj : public CCombObj { the complier need to get complete information about a class while using inheritance to construct the VTable. so that is why it showing the error. i think this will help u

        H 1 Reply Last reply
        0
        • N Nitheesh George

          Error is clear. because from the code u have given CProCombObj is a nested class in CCombObj. ie the complete definition of CCombObj is unknown for the complier when it find the following class declaration statement. class CProCombObj : public CCombObj { the complier need to get complete information about a class while using inheritance to construct the VTable. so that is why it showing the error. i think this will help u

          H Offline
          H Offline
          Hakan Bulut
          wrote on last edited by
          #4

          Is there something wrong? I have a class by using manually GUI add class to generic class for a while the class to class that deriveded from CObject base class. The compiler has already this job be complated for the user's defination these classes just as in base defination?

          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