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. ATL / WTL / STL
  4. Base Class Undefined

Base Class Undefined

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comhelpquestionannouncement
1 Posts 1 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.
  • T Offline
    T Offline
    TFrancis
    wrote on last edited by
    #1

    A long time ago I came up with a bunch of COM interfaces that were all defined in one IDL file. I created a number of COM objects that supported those interfaces by having the object's IDL file include the first idl file. It worked. All was well with the world. Now, I am trying to make some changes, so I created a Ixxxx2 interface that inherits from Ixxxx in that first IDL file. When I try to get my ATL object to inherit from Ixxxx2 I get compiler error C2504, base class undefined. I've compiled the new version of the IDL file. The new interface is defined exactly the same in the .h file as all the other older interfaces. What am I doing wrong? Thanks, Tim

    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