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. error C2504

error C2504

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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
    aleyah
    wrote on last edited by
    #1

    hello.. anybody can help me? Please help me to solve this error problem : "error C2504: 'CRecordset' : base class undefined" tq..

    C B 2 Replies Last reply
    0
    • A aleyah

      hello.. anybody can help me? Please help me to solve this error problem : "error C2504: 'CRecordset' : base class undefined" tq..

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      From MSDN Compiler Error C2504 'class' : base class undefined The specified base class was declared but never defined. This error can be caused by a missing include file or an external base class that was not declared with the extern specifier. The following is an example of this error: class A; // error, A is undefined class A {}; // OK, A is defined class B : public A {}; // the error is detected here You may need to include afxdb.h somewhere Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

      Sonork ID 100.10002:MeanManOz

      I live in Bob's HungOut now

      1 Reply Last reply
      0
      • A aleyah

        hello.. anybody can help me? Please help me to solve this error problem : "error C2504: 'CRecordset' : base class undefined" tq..

        B Offline
        B Offline
        borland
        wrote on last edited by
        #3

        your solution = put #include at the top of your file. and read your msdn next time. : Wherever you go, there you are, and you wish you were somewhere else :

        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