Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!husc6!rice!uw-beaver!uw-june!moore From: moore@june.cs.washington.edu (Charles Moore) Newsgroups: comp.sys.mac.hypercard Subject: opening files from an XCMD, revisited Keywords: file access, Lightspeed C, XCMD Message-ID: <7947@june.cs.washington.edu> Date: 22 Apr 89 08:19:54 GMT Organization: U of Washington, Computer Science, Seattle Lines: 14 Several people responded to my earlier note by saying that I should use the File Manager routines, FSOpen, FSRead, etc. instead of the Lightspeed C stdio routines. Thank you for that help. Regardless of whether it is possible to use the stdio routines by including the stdio source code in the code resource project, I have taken the advice of the majority and switched to the Toolbox File Manager. Unfortunately, I still have the same problem. In a stand alone application I can use the File Manager routines just fine to access an existing file. The same code in an XCMD, however, results in a "file not found" error. This is somewhat baffling. Could it be that Hypercard has somehow twiddled the default volume information or is there some other explanation? Charles Moore