P. Wilson
April 4th, 1999, 02:13 PM
I have added a .cpp file to my project but it won't recognize the .h file as the external dependency. The MSDN says to go to Build and Update All Dependencies but I have Version 6 and it does not have Update All Dependencies in the Build menu. Does anyone know how I can get the compiler to recognize the .h file as an external dependency. It's driving me crazy! Thanks for your help!
Fabian
April 5th, 1999, 11:19 AM
Can you refresh your question?, because I don't understand it.
If you include a .cpp file in your project the associated .h file is not an external dependency.
In any case, an external dependency, for example a .h file, is showed when you refer to it in any file of your project.
For example if you do this
#include "test.h"
...
in any of the cpp projects files and compile it, you'll see it in the External Dependencies Folder.
If this is not what you are trying to do, and you just want to have the .cpp and the .h included in your project, you should 'Insert Files into Project' from Project - Add to Project - Files menu.
Regards
Fabian