home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!usc!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!ttak
- From: ttak@ellis.uchicago.edu (toki takeuchi)
- Newsgroups: comp.sys.mac.programmer
- Subject: Using FSSpec info for old File Manager routines. etco
- Message-ID: <1992Dec17.220155.2662@midway.uchicago.edu>
- Date: 17 Dec 92 22:01:55 GMT
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: ttak@midway.uchicago.edu
- Organization: University of Chicago Computing Organizations
- Lines: 17
-
- I want to use data from the FSSpec record (vRefNum,parID and fName)
- with old routines such as PBGetCatInfo and GetFInfo.
- The FSSpec usually comes from the Open Document Apple Event.
-
- I usually get a -1 for the vRefNum, something I cant' remmebr for
- parID, and the name of the file/directory/etc. in fName.
-
- When I use that info respectively in PBGetCatInfo or GetFInfo,
- I get error -35, among others. Obviously, the Finder is not
- sending me the vRefNum and parID as we know them conventionally.
-
- So how can I use the FSSpec, especially that from an Apple Event
- with old File Manger routines?
-
- Thanks.
-
- Kenji Takeuchi (please respond directly, if possible)
-