MFC class name is used as User defined class name RRS feed

  • Question

  • I am working on VC++ migration project from VS 2003 to VS2010. In VS 2003, there is an user defined class with class name CDialogEx. I checked the MFC hierarchy chart for VS 2010 and got to know that there is a new MFC class with same name (CDialogEx). Is there any way to make the MFC classes point to VS 2003 hierarchy? or is there any other way to overcome this problem?

    Note: Compilation doesnt throw any errors for any of the project. but few dialogs load with white background.

    Please help!

    Monday, August 6, 2012 12:38 PM


All replies

  • You can define it in diffrent namespace

    namespace MYDIALOG { class DialogEx {


    // member functions


    // member varaibles }; }

    Thanks, Renjith V R

    Monday, August 6, 2012 1:55 PM