Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!zephyr.ens.tek.com!uw-beaver!uw-june!fred.cs.washington.edu!ginting From: ginting@fred.cs.washington.edu (Eka Namara Ginting) Newsgroups: comp.sys.mac.programmer Subject: THINK C library & opening files - HELP!?! Message-ID: <12866@june.cs.washington.edu> Date: 22 Aug 90 23:33:57 GMT Sender: news@cs.washington.edu Reply-To: ginting@fred.cs.washington.edu (Eka Namara Ginting) Organization: University of Washington Computer Science Lines: 19 I'm creating a library that I put in a folder in THINK C's folder. The code in the library opens two files; both of them in the same folder as the library, and it needs resources from a resource file also in the same directory. The library refers to the files by their names only (not full path - I want it to be independent of the volume.) If I create a project in an arbitrary folder, and import the library, I get an error because it can't find the two files (which are located in the library's folder.) If I move the files and the resource file to the folder where the project is, everything works fine. Can anyone give me a pointer as to how I can get this to work ? I need to have the files in a different folder from the project's folder without having the library referring to the files using full path names. Helllpppp !!! Thanks for your attention..... -- Eka Ginting ginting@fred.cs.washington.edu