How to rebuild class view data

This is a discussion on How to rebuild class view data within the Windows Programming forums, part of the Platform Specific Boards category; Seems MSVC likes to crash inside of MFC projects with the MSDN help file open. Also, it tends to erase ...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598

    How to rebuild class view data

    Seems MSVC likes to crash inside of MFC projects with the MSDN help file open.

    Also, it tends to erase some files from your project when this happens. My whole project got fragged and I had to re-do the whole thing in another directory.

    Just in case I ever have this happen again, how do you tell MSVC to re-build the class view data? The file got erased during the crash and I could not re-build it. So since there was no class information, there was also no function 'hints' when you typed in objects.

    Like:

    CDC *dc=GetDC();

    dc->

    Normall MSVC comes up with a list box of functions, members that belong to class CDC. However because the project died, this didn't happen.

    My dev time is being prolonged by the fact that MSVC is one of the most unstable compilers I think I've ever used. The wizards have major bugs in them and the IDE crashes.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    delete *.ncb, *.opt, *.plg, *.aps files in your project. Open up your project and do a rebuild. That usually does the trick.

    Why don't you use another compiler then?
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    I think that if you delete the NCB file from the project, it'll force VC++ to rebuild the class view and intellisense. If I remember rightly that is! Best backup that file before following my advice

    [edit]oops, too late

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with FIFO QUEUE
    By jackfraust in forum C++ Programming
    Replies: 23
    Last Post: 04-03-2009, 09:17 AM
  2. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  3. Replies: 4
    Last Post: 06-14-2005, 06:45 AM
  4. Abstract class problem
    By VanJay011379 in forum C++ Programming
    Replies: 9
    Last Post: 07-31-2002, 02:30 PM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 07:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21