
Missing class in classview
Funny how often you solve your own problem shortly after asking for
help.....
It turns out that the header file "SchedLim.h" was being added as an
external
dependency. I could see no logic to this whatsoever. Even after deleting
all references to class SchedLim and its .cpp and .h files, re-adding them
caused SchedLim.h to become an external dependency again.
I have not had this problem with any other .h files.
The solution was to explicitly add SchedLim.h to the project (adding
SchedLim.cpp was not sufficient).
This has not been necessary with any other .h file. Good bug.
PS: I'd really like to send Microsoft a bill for my time that they've
wasted.
--
Software Developer
Open Concepts Pty Limited, Australia (http://www.openconcepts.com.au)
[Every old problem is new again....]
Quote:
> I have a project with 135+ classes. Everything's been fine so far. I
> upgraded to
> VC++ 6.0 with SP2 last week and still everything has been acceptable.
> Today, I added a new class and it didn't appear in ClassView. Deleting
> and
> rebuilding .clw and .ncb has made no difference.
> I've removed the source files (.h and .cpp), and re-added them...still
> no difference.
> The class is called "SchedLim" (if that helps).
> The project compiles and runs. It's just that this new class doesn't
> appear
> in ClassView.
> I've searched MSDN online, DEJA news, and nobody in the world seems to
> have reported this problem!
> Any help will be appreciated.
> PS: This is not the "missing class inside a namespace" problem.
> --
> Thanks,
> Software Developer
> Open Concepts Pty Limited, Australia (http://www.openconcepts.com.au)
> [Every old problem is new again....]