The information in this article applies to:
SYMPTOMSDependendcies to files that are included using a relative reference such as,
will not be generated when a Scan All Dependencies is performed on a
project.
RESOLUTIONAdding the project root directory to one of the Include file paths (under Options.Directories or Options.Project.Compiler.Preprocessor) AND changing the #include statement to remove the leading backslash (such as in "include\test.h") will resolve this problem. Additionally, specifying the entire path to the include file will alleviate this problem. STATUSMicrosoft has confirmed this to be a bug in the products listed above. This problem was corrected in Visual C++ 2.0. MORE INFORMATIONThe following sample code will not include test1.h as a project dependency. Sample Code
Additional query words: 1.00 1.10
Keywords : kbide kbVC |
Last Reviewed: January 19, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |