   (VS2005, C++) Using one solution with multiple projects
  I'm currently building a game engine and I'm separating several core parts into their own projects. Right now I have two main projects I'm working on, a debugger and the core engine, each with its own executable that builds and runs fine on its own. I'm now trying to bring the debugger over to run alongside the engine, but haven't really had any success.I've never worked with multiple projects before, so I'm not really sure how to handle this.I set the other project as a reference in the project properties, it's building both of them in the correct order and I can pull over all the required .h files, but I keep getting linker errors (unresolved external symbols) whenever I try to reference code and functions from the other project. What do I have to do to get the code from the different projects to be able to talk to each other, without duplicating any code?   
  Did you just try adding the source files from the other project as "Add Existing Item" from the right click menu of the source files folder?   ;  Oh, wow. I...can't believe I didn't think of that. And here I was googling this for hours on end, starting to think I'd have to end up dealing with linking static libraries.I do have to reorganize some of the code and the resource files to make it work properly, but yes, that should actually completely solve the problem. I still can't believe I hadn't thought of that, such a trivial thing to forget.Maybe I should stop staying up till 9AM, it's messing with my brain <_<;   