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. Problem with ClassWizard

Problem with ClassWizard

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionhelplearning
4 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.
  • R Offline
    R Offline
    Reagan Conservative
    wrote on last edited by
    #1

    After I've created a new resource (IDD_TBL_A_DLG) and open ClassWizard, ClassWizard tells me I have a new resource and do I want to create a new class for it. When I try to create the class for this resource, I get the following: "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.

    John P.

    N D 2 Replies Last reply
    0
    • R Reagan Conservative

      After I've created a new resource (IDD_TBL_A_DLG) and open ClassWizard, ClassWizard tells me I have a new resource and do I want to create a new class for it. When I try to create the class for this resource, I get the following: "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.

      John P.

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      jparken wrote:

      "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.

      Delete .aps, .clw, and .ncb files and restart IDE.


      Nibu thomas A Developer Programming tips[^]  My site[^]

      1 Reply Last reply
      0
      • R Reagan Conservative

        After I've created a new resource (IDD_TBL_A_DLG) and open ClassWizard, ClassWizard tells me I have a new resource and do I want to create a new class for it. When I try to create the class for this resource, I get the following: "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.

        John P.

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        jparken wrote:

        Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.

        It's a known bug with VS6. The files get created, but ClassWizard just doesn't know about them. Clean up the project's temporary files, and then restart the IDE.


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        R 1 Reply Last reply
        0
        • D David Crow

          jparken wrote:

          Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.

          It's a known bug with VS6. The files get created, but ClassWizard just doesn't know about them. Clean up the project's temporary files, and then restart the IDE.


          "A good athlete is the result of a good and worthy opponent." - David Crow

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          R Offline
          R Offline
          Reagan Conservative
          wrote on last edited by
          #4

          Thanks very much. This is the first time this had happened to me.

          John P.

          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