1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem while creating a class for new dialog

Discussion in 'MFC' started by dathatreya, Apr 1, 2008.

  1. dathatreya

    dathatreya New Member

    Joined:
    Apr 1, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Hello all,

    Sometimes I am facing a problem, while creating a class for the new dialog in MFC (VC++ 6.0 Version). Suppose If we have created a class for any dialog,automatically it will give the .cpp and .h files for that class.But sometimes It is giving a popup message like.......

    "The formone.cpp and formone.h cann't be opened for the class 'formone' ",and it won't create a class for that dialog with the name 'formone' but I want the name to be same for that dialog.

    Can anyone plz help me......
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    This is the bug in the IDE which I also tend to face. Sometimes the problem is just the file could not be read and its solved if you close the work space and open it back or else try the following.

    1. Generate other project and add the necessary files.
    2. Write the files by your own.
     

Share This Page