CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2001
    Location
    New Jersey
    Posts
    312

    reusing code VC++ multi Directories

    I cant seem to get this to work.

    Here is what I want to do.

    I have 3 projects. All 3 have two classes that I use all the same in one.

    Right now after I update the class I then copy the code to all three and then recomplie.

    What I want to do is put the files in one directory and then load the files up and be able to change it in one project and then when I open another it is already updated (as they all look in one place)

    The problem is when its linking it cannot file the file. Even though it seems that I am able to add the code to each project.

    Plz help me. I know I am just missing something easy. This would make things easier.
    http://www.dewgames.com
    Shareware and Free games!

  2. #2
    Join Date
    Feb 2002
    Posts
    5,757
    Try adding the directory of the shared files in project's include under options/projects/vc++ directories

    Kuphryn

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