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. VS 2003 hangs when adding class

VS 2003 hangs when adding class

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiohelpquestion
4 Posts 2 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.
  • G Offline
    G Offline
    greekgoddj
    wrote on last edited by
    #1

    I am trying to add a new class to my project, I enter the class name, hit enter, and it hangs! I have tried it several times, tried restarting etc, without any luck. Anybody face this problem before? :confused: Thanks, Aristotel

    G 1 Reply Last reply
    0
    • G greekgoddj

      I am trying to add a new class to my project, I enter the class name, hit enter, and it hangs! I have tried it several times, tried restarting etc, without any luck. Anybody face this problem before? :confused: Thanks, Aristotel

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      Probably one or more of the files Visual Studio uses to keep track of things has gotten messed up. Exit Visual Studio. In the folder containing your project, try deleting project.NCB, project.APS, and project.SUO (if any of them exist). These files contain IntelliSense, resource editor, and solution option information, respectively. They can be deleted safely, and Studio will recreate them as needed.


      Software Zen: delete this;

      G 1 Reply Last reply
      0
      • G Gary R Wheeler

        Probably one or more of the files Visual Studio uses to keep track of things has gotten messed up. Exit Visual Studio. In the folder containing your project, try deleting project.NCB, project.APS, and project.SUO (if any of them exist). These files contain IntelliSense, resource editor, and solution option information, respectively. They can be deleted safely, and Studio will recreate them as needed.


        Software Zen: delete this;

        G Offline
        G Offline
        greekgoddj
        wrote on last edited by
        #3

        Hello, thanks for the suggestion. I deleted the .NCB and .APS files from the project directory, unfortunately I still have the problem. Adding a new class causes VS 2003 to hang/freeze. Any other suggestions? Thanks!

        G 1 Reply Last reply
        0
        • G greekgoddj

          Hello, thanks for the suggestion. I deleted the .NCB and .APS files from the project directory, unfortunately I still have the problem. Adding a new class causes VS 2003 to hang/freeze. Any other suggestions? Thanks!

          G Offline
          G Offline
          greekgoddj
          wrote on last edited by
          #4

          Well, After nearly 2 weeks of trying to figure this out, reinstalling Visual Studio .NET, restarting the project and trying slightly different approaches, I have found the problem to be in the Visual Studio .NET settings. Under Options/Projects/VC++ Directories, I had some additional entires which seem to have been the problem. Removing those now has Visual Studio .NET not crashing when adding a second ATL control class to a project. Aristotel ;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