Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft Developer Studio C++

Status
Not open for further replies.

SwatiA

Programmer
May 10, 2002
9
IN
I am using "Microsoft Developer Studio" for compiling my c++ programs. Can any one shine some light on what the following error message means:
"Can not recognise the current class view information(.NCB) file format. Would you like to overwrite the file?(yes,
no)"
"Can not access the class view information file. Class view information will not be available.( OK)"

I get these messages when I open a "workspace".
Swati
 
Your class view information file has become corrupted (or missing). I don't think there's much you can do with this unless you have a back up copy of the original. :-(
tellis.gif

[sup]programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.[/sup]​
 
Just delete the .ncb file and rebuild.
 
Fortunately, I've never had this problem happen to me - but that's cool to know xwb for future reference just in case... thanks!
tellis.gif

[sup]programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.[/sup]​
 
Deleting the .NCB worked apparently. But dont know what happened technically. If some one has a deeper knowledge of the subject and can explain what just hapened, it will be apprecited. I mean what is a NCB file and why was it stopping the class view etc)
 
I don't really know what the .ncb file is: probably something to do with the class browser. Anyway, the sledge hammer approach when things go wrong is

1) Do a Clean All on the project
2) Exit VC++
3) Delete all: .opt, .ncb. .pch, .sbr, .bsc files in the entire tree
4) Start VC++ and do a re-build all.


 
xwb.... wouldnt the debug dir be a good idea to get rid of also? žÅNžÅ
 
clean all should clean out the debug and release dirs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top