583 Subj : Re: unresolved exteranls To : borland.public.cpp.borlandcpp From : "Dennis Jones" Date : Wed Oct 01 2003 05:36 pm "Trevor Arsenault" wrote in message news:3f7b5180$1@newsgroups.borland.com... > Hi I was wondering how to include files into your > project without actually adding them to your project view > in Borland 5.02? > I have > no wish to have 40 extra files cluttering my workspace. The TransientAgent > code has been tested and works fine as a stand alone project so what I want > to > know is how does one use files in another dir without adding them explicitly > to > your project?If that is what my problem is... What you are asking for is to have the project *implicitly* include source files, and you can't do that (because there is no way for the project to know which source files it might need to include). You have two options: 1) Explicitly include any required source files in your project (which you have already stated you do not want to do) 2) Create a static library (LIB) containing the required source files and then include that library in your project. That way your project has access to the files without cluttering up the EXE project. The linker is smart enough to include only the (OBJ) modules that are necessary to successfully link the project. - Dennis . 0