home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19987 < prev    next >
Encoding:
Internet Message Format  |  1992-12-18  |  1.2 KB

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