Question on project files

Posted on 2004-11-22
Last Modified: 2010-04-01
I've found that many times my classview information will inexplicably not be accessible, or the auto-complete of object methods/paramters will go away..

There are project files like project.ncb and project.opt for example, that if I delete them and re-run VC++ 6.0, things come back.

I'm wondering which of the following files are re-created automatically, what they are for, and which ones I should never delete.. (Assum the project is called "project")

project.dsp   (project, this I'm sure I should keep)
project.dsw  (workspace, this I think I should keep)


Question by:PMH4514
    LVL 13

    Accepted Solution

    To re-created the class view information delete the file .clw. When pressing Ctrl+W the next time a dialog will pop-up asking you whether the file should be recreated.

    project.mak is a make file created from the project file. It can be re-created at any time from the project menu->Export make file.
    project.opt is storing options for this project like lib files to include etc.. Shoud be kept unless you need to restore default state.
    .ncb can be deleted:
    .plg is a HTML result of the last build.
    LVL 3

    Expert Comment

    class view will also not be available if the project is already open either on your computer or on another computer.
    LVL 13

    Expert Comment


    Author Comment


    Author Comment

    >>To re-created the class view information delete the file .clw. When pressing Ctrl+W the next time a dialog will pop-up >>asking you whether the file should be recreated.

    Actually this is what I had expected, but in many instances, doing so would not work.. it would recreate the CLW file, but the class view and auto-complete were still not available within the project.. which led me to start deleting some of those other files.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Finding a good hash function 4 109
    C++ get user from AD  (VS6) 7 39
    Dynamically allocate memory 9 42
    I could not build boost code, 10 32
    Article by: SunnyDark
    This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
    In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now