I'm looking for advice or references on how to setup correctly (and rather elegantly & less hacky) a multi-C/C++-project solution under the Visual C++ IDE. For example, I'm concerned about absolute search paths and would prefer to use relative paths and/or make use of proper variables à la $(soandso) to make the solution/project work regardlessly of where it's stored exactly in the filesystem. But I don't know how I can achieve this.

The solution I'm currently dealing with contains two projects. One DLL project and one other commandline application project which makes use of the DLL. I'm wondering how I should setup all the paths and links -- not just to make it work for me, but to make it work for everybody else who copies my solution folder somewhere onto another harddrive into another folder (etc).