Subj : unresolved exteranls To : borland.public.cpp.borlandcpp From : "Trevor Arsenault" Date : Wed Oct 01 2003 05:13 pm Hi I was wondering how to include files into your project without actually adding them to your project view in Borland 5.02? What I do is I go to options->project->directories and set the path to the required header files (cpp files in same path as the header files). Then I include the header for the object I need within the header file that I need the definition. example inside of TimerAgent.h #include "TransientAgent.h" //which is in a different dir then I declare a class class TimerAgent: public TransientAgent constructor deffinition TimerAgent::TimerAgent(int port,string name):TransientAgent(port,name){} now it compiles fine until the linking then I get many unresolved external errors example: Error: Unresolved external 'TransientAgent::TransientAgent(int,string)' referenced from ... I know it finds the header file for TransientAgent because TransientAgent inherits from AbstractProcess which is not directly used in this project and some of the unresolved externals refer to AbstractProcess. Now the file structure is huge for all the nesting involved in the creation of Transient Agent and 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... Thanks for any help in advance Trevor .