I am using delphi 6 prof. I am having a library of components stored in a directory and I am also having a text file stored in that directory. I can use these components from any project provided I have correctly specified the search path.
Now the problem is that in a project I want to read the text file stored in the components directory. I don’t want to use absolute or relative path to access that file but instead I want to search for the file in the directories specified in the project search path. Is it possible to retrieve the project search path?
Any example code will be of great help?
Thanks in advance.
Now the problem is that in a project I want to read the text file stored in the components directory. I don’t want to use absolute or relative path to access that file but instead I want to search for the file in the directories specified in the project search path. Is it possible to retrieve the project search path?
Any example code will be of great help?
Thanks in advance.