Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Classes gone from class list

0 views
Skip to first unread message

GT

unread,
Feb 5, 2007, 9:56:42 AM2/5/07
to
Why might some of my classes dissappear from the Class View in VS2005? I am
also getting error 2079 for some classes that were fine half an hour ago and
still exist in the Class View window. The header and cpp files for the
missing and broken classes are included in my project.

Everything was fine until about half an hour ago - I added 1 pure virtual
operation to a base class and a concrete method to 9 subclasses, (I think
this is irrelevant!) and half of the classes are now missing and I can't use
the others. The method was called SortList() and calls a list sort operation
specific to that class.

I have tried to add the files to the project again, but they are already
there. I have closed and re-opened visual studio. I have done a rebuild.

Any help appreciated!


GT

unread,
Feb 5, 2007, 10:26:27 AM2/5/07
to
"GT" <ContactG...@hotmail.com> wrote in message
news:45c7456b$0$20713$c3e...@news.astraweb.com...

Sorry for the panic post - second part of this is fixed now - the build
error 2079 was caused by a missing '}' at the end of the class header file.
However, my classes are still absent from the Class View, even though they
are in the project and used by other classes - where have they gone and how
do I get them back?!?


Paul S. Ganney

unread,
Feb 6, 2007, 6:03:27 AM2/6/07
to
Not sure about VS2005, but in VS6 this was a common problem. If you
delete the *.clw file (or rename it - much safer!), then when you run
Class Wizard it will prompt you for all the classes in your project.

Other files that get corrupted and can safely be deleted are *.aps,
*.ncb and *.opt

Paul.

0 new messages