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. ask a question about a dialogue's class

ask a question about a dialogue's class

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++help
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.
  • L Offline
    L Offline
    liuyue
    wrote on last edited by
    #1

    :sigh:after I finished a dialogue template ,I want to build the class "CMyDlg" of the dialogue template ,but the problem arised: Unable to open the files (D:\ly\CMyDlg.h,D:\ly\CMyDlg.cpp)for class "CMyDlg" . Who can tell me why? thanks!

    D 1 Reply Last reply
    0
    • L liuyue

      :sigh:after I finished a dialogue template ,I want to build the class "CMyDlg" of the dialogue template ,but the problem arised: Unable to open the files (D:\ly\CMyDlg.h,D:\ly\CMyDlg.cpp)for class "CMyDlg" . Who can tell me why? thanks!

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

      This is not an uncommon message from ClassWizard. I get it about 30% of the time when creating a new class. To ensure that your class gets properly added to the project, exit the IDE, delete the temporary files (e.g., .opt, .ncb, .aps, .clw) , and re-open the project. The next time you invoke ClassWizard (Ctrl+W), all should be well.


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      L 1 Reply Last reply
      0
      • D David Crow

        This is not an uncommon message from ClassWizard. I get it about 30% of the time when creating a new class. To ensure that your class gets properly added to the project, exit the IDE, delete the temporary files (e.g., .opt, .ncb, .aps, .clw) , and re-open the project. The next time you invoke ClassWizard (Ctrl+W), all should be well.


        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        L Offline
        L Offline
        liuyue
        wrote on last edited by
        #3

        thank you, I get it. but why ? Is that vc's bug?

        B 1 Reply Last reply
        0
        • L liuyue

          thank you, I get it. but why ? Is that vc's bug?

          B Offline
          B Offline
          Blake Miller
          wrote on last edited by
          #4

          Yes, it is a bug. I see the same thing happen on all my systems (about 5 current - many in the past). Does not seem to matter what OS or if virus scanner, spybot scanner, firewall, etc. are installed and running or not.

          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