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. The Lounge
  3. ClassWizard comes and goes ...

ClassWizard comes and goes ...

Scheduled Pinned Locked Moved The Lounge
10 Posts 9 Posters 22 Views
  • 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
    raimundo4u
    wrote last edited by
    #1

    Hi, I always have trouble with ClassWizard. When I create a new project in MSVC++, autocomplete works, but after some time it is gone. Can someone shed some light on how this works (or is supposed to work) Much appreciate

    A M G A 4 Replies Last reply
    0
    • R raimundo4u

      Hi, I always have trouble with ClassWizard. When I create a new project in MSVC++, autocomplete works, but after some time it is gone. Can someone shed some light on how this works (or is supposed to work) Much appreciate

      A Offline
      A Offline
      Amish shah
      wrote last edited by
      #2

      Yeah! I've noticed it too. I delete the .NCB & .OPT project files when it happens, that usually fixes it

      T 1 Reply Last reply
      0
      • A Amish shah

        Yeah! I've noticed it too. I delete the .NCB & .OPT project files when it happens, that usually fixes it

        T Offline
        T Offline
        TheAzazel
        wrote last edited by
        #3

        Sometimes, when adding new functions to classes using ClassWizard I find that some of the classes in classview dissapear. I have to delete the files to fix it as well. It only happens intermittently. Odd

        S L A 3 Replies Last reply
        0
        • T TheAzazel

          Sometimes, when adding new functions to classes using ClassWizard I find that some of the classes in classview dissapear. I have to delete the files to fix it as well. It only happens intermittently. Odd

          S Offline
          S Offline
          satyendrapandey
          wrote last edited by
          #4

          When a class in the class view disappears, open the header/source file for that class and then save the file. Some how this save updates the class view and your class should reappear in the list. I doesn't seem to work 100% of the time though :

          1 Reply Last reply
          0
          • T TheAzazel

            Sometimes, when adding new functions to classes using ClassWizard I find that some of the classes in classview dissapear. I have to delete the files to fix it as well. It only happens intermittently. Odd

            L Offline
            L Offline
            Lost User
            wrote last edited by
            #5

            There's more. If you renumber the resource symbols in a resource.h file whilst the project using it is open, the symbol names in the resources can be lost and replaced by their old(!) literal values - so IDB_BITMAP becomes 20114...with much badness resulting. This seems to be because the Resource Editor caches the information in the .aps file. Deleting it (you have to exit the project first, since its locked for exclusive access) seems to sort it out. I found this out the hard way when I wrote an Add-In which includes a wizard to renumber resource symbols. If I find a decent fix I'll post it on the website - until then its just too damn dangerous

            1 Reply Last reply
            0
            • T TheAzazel

              Sometimes, when adding new functions to classes using ClassWizard I find that some of the classes in classview dissapear. I have to delete the files to fix it as well. It only happens intermittently. Odd

              A Offline
              A Offline
              Amish shah
              wrote last edited by
              #6

              I play around with the header file before doing anything that drastic, inserting blank lines, taking them out et

              1 Reply Last reply
              0
              • R raimundo4u

                Hi, I always have trouble with ClassWizard. When I create a new project in MSVC++, autocomplete works, but after some time it is gone. Can someone shed some light on how this works (or is supposed to work) Much appreciate

                M Offline
                M Offline
                Member 1907100
                wrote last edited by
                #7

                You know, I took a training class about a year ago on COM/ATL. The professor made a lot of jokes about this saying that the Visual Basic team probably handed over the autocomplete and dropdown method type functionality to the Visual C++ team.... but maybe not a complete version and the VC++ team just never got it right. It works so well in VB. Ah well, the "solution" is to go away from Microsoft for this one. Check out http://www.wholetomato.com. They have a plug-in for Visual C++ (5.0/6.0) called "Visual Assist". It is truly an excellent plug-in that massively improves on Microsoft's botched attempt. However, the program DOES replace the Visual C++ IDE but with the latest release of Visual Assist you get almost all the same functionality (colors and such) that Visual C++ gives you. It's still not perfect in my opinion, but I still love it

                H 1 Reply Last reply
                0
                • M Member 1907100

                  You know, I took a training class about a year ago on COM/ATL. The professor made a lot of jokes about this saying that the Visual Basic team probably handed over the autocomplete and dropdown method type functionality to the Visual C++ team.... but maybe not a complete version and the VC++ team just never got it right. It works so well in VB. Ah well, the "solution" is to go away from Microsoft for this one. Check out http://www.wholetomato.com. They have a plug-in for Visual C++ (5.0/6.0) called "Visual Assist". It is truly an excellent plug-in that massively improves on Microsoft's botched attempt. However, the program DOES replace the Visual C++ IDE but with the latest release of Visual Assist you get almost all the same functionality (colors and such) that Visual C++ gives you. It's still not perfect in my opinion, but I still love it

                  H Offline
                  H Offline
                  huntersvcs
                  wrote last edited by
                  #8

                  Nick Hodap has a product called WorkspaceEx that includes a NukeNCB tool for one-click deletion of NCB Files. If you don't have VisualAssist, this is the next best thing: http://www.codeveloper.com/workspaceex/workspaceex.as

                  1 Reply Last reply
                  0
                  • R raimundo4u

                    Hi, I always have trouble with ClassWizard. When I create a new project in MSVC++, autocomplete works, but after some time it is gone. Can someone shed some light on how this works (or is supposed to work) Much appreciate

                    G Offline
                    G Offline
                    grebulon
                    wrote last edited by
                    #9

                    I don't know for sure but AutoComplete seems to get confused sometimes. For me it usually doesn't work if the source file I am editing does not compile properly (I guess it cannot parse it itself, which is fair enough, although rather frustating). I have heard that sometimes the database used by AutoComplete gets currupted. Try exiting DevStudio and deleting the NCB file, then recompiling. As I say I am not sure so this could be all wrong, but I hope it helps

                    1 Reply Last reply
                    0
                    • R raimundo4u

                      Hi, I always have trouble with ClassWizard. When I create a new project in MSVC++, autocomplete works, but after some time it is gone. Can someone shed some light on how this works (or is supposed to work) Much appreciate

                      A Offline
                      A Offline
                      ameenshabeer
                      wrote last edited by
                      #10

                      From what I can tell, the project's .NCB file becomes corrupt. Closing the project and deleting the .NCB and then reopening the project (which rebuilds the .NCB) usually will bring back the auto-complete feature. I have read other postings that indicate that the .NCB and .CLW both need to be deleted, but I personaaly have never run into a case where I had to delete the .CLW to get auto-complete bac

                      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

                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups