base class undefined

Posted on 2004-11-03
Last Modified: 2008-01-16
When i try to compile, i get error: error C2504: 'CDHtmlDialog' : base class undefined

How can i resolve this?
Question by:mammouth
    LVL 9

    Expert Comment


    I would say that the base class, in this case "CDHtmlDialog" is not defined in that file
    or the header where that class is defined is not included in this file.

    Hope this helps

    LVL 1

    Author Comment

    CDHtmlDialog were added with microsoft web browser activeX under MFC.
    LVL 9

    Expert Comment

    I guess there must be some kind of header you must include.

    LVL 19

    Accepted Solution

    Header is 'afxdhtml.h'.  It is new in MFC with VS .NET.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
    What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
    The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now