CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    Update All Dependencies

    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!


  2. #2
    Join Date
    Apr 1999
    Posts
    21

    Re: Update All Dependencies

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured