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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What happened to my class? 1

Status
Not open for further replies.

jdeejay

Programmer
Oct 5, 2001
44
US
everything was working great. Compiling with no errors or warnings. Stepped out and came back and now I notice that I am missing a class. It seems to be working fine, and the code all seems to be there, but where did it go? how do I get it back in my class view tab? Also, for some reason, I started getting a warning stating that the rtf document was saved as a word document. I didn't even open that file. But, I opened it and resaved as rtf and now is working again, but class is still missing.????

Thanks
 
Make sure on the File View Tab that all of your own .h files are not listed as "External Dependencies". If they are, drag those filenames up and drop them on to your project name. They should appear in Class View (at least after you compile again).
 
The only files listed under "External Dependencies" is basetsd.h -- all mine are where they were before.

Is there another way to get back the class in my class view?

 
delete the clw-file in the project's directory. On calling
class wizzard, you'll be prompted for creating this file new.
 
I don't know whats going on, but that didn't work either. And I have also noticed that the Autocompletion feature (when you type m_someControl. and it pops up possible functions) is not working either.

???
 
try a rebuild all in the build menu. Also, try deleting the .opt and .ncb files for the project before doing this. Sounds like something got corrupted.

Matt
 
Thanks Matt, that fixed both problems.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top