PRB: Unable to Derive Classes from External DependenciesLast reviewed: July 24, 1997Article ID: Q167349 |
The information in this article applies to:
SYMPTOMSWhen you try to create a new class derived from a generic class using Insert.New Class wizard in the IDE, you may get the following error message:
The New Class Wizard could not find the appropriate header file(s) to include for the base class(es) CTestClass. If you choose to derive from the class(es) anyway, you may need to manually add the appropriate header file(s) to C:\Temp\CTestClassDerived.h CAUSEThe New Class Wizard can not derive classes from the classes that are only in the external dependencies. That is, if the base class' header file, where the base class is declared, is not included in the project, the wizard cannot add the header to the derived class' header file.
RESOLUTIONTo resolve the problem, you can do one of the following:
STATUSThis behavior is by design.
MORE INFORMATIONThe following procedures can be used to reproduce the problem.
Steps to Reproduce Behavior
|
Additional query words: member methods wizards
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |