home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14526 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!terminator!leonardr
  3. From: leonardr@ccs.itd.umich.edu
  4. Subject: Re: HFS Calls in IM6?
  5. Message-ID: <1992Aug26.032707.9139@terminator.cc.umich.edu>
  6. Originator: leonardr@diddley.ccs.itd.umich.edu
  7. Sender: news@terminator.cc.umich.edu (Usenet Owner)
  8. Organization: Campus Computing Sites, University of Michigan-Ann Arbor
  9. References: <keagGhC00UhWM6nGQa@andrew.cmu.edu>
  10. Date: Wed, 26 Aug 1992 03:27:07 GMT
  11. Lines: 28
  12.  
  13. In article <keagGhC00UhWM6nGQa@andrew.cmu.edu> ba0k+@andrew.cmu.edu (Brian Patrick Arnold) writes:
  14. >
  15. >Howdy,
  16. >
  17. >Can anybody tell me whether the HFS High-level calls in Inside Macintosh
  18. >Vol 6 noted as being equivalent to HFS low-level calls in Inside
  19. >Macintosh Vol 4 ARE, IN FACT simply glue to HFS low-level traps, or are
  20. >they specific to System 7, i.e., traps themselves?  
  21. >
  22.     All of the high level HFS calls ('Hxxx') are valid under System 6 -
  23. EXCEPT HOpenDF which is only valid for Sys7.  However there is no easy way
  24. to test for just "_OpenDF" implemented.  I usually test for the FSSpec
  25. calls to be valid (via Gestalt) and if they are, then so is the OpenDF 
  26. routines.
  27.  
  28. >I noticed that
  29. >MacApp 3.0's TFile class uses these HOpenDF etc. without checking for
  30. >System 7 or File Manager Gestalt.  TFile does check for Alias manager
  31. >using Gestalt, to filter out whether it will do certain FSp, Finder and
  32. >Alias Manager calls, but it doesn't filter on the H calls.  
  33. >
  34.     that would mean that MacApp 3 programs won't work under System 6!
  35.  
  36. -- 
  37. -----------------------------------------------------------------------
  38. Leonard Rosenthol          Internet: leonardr@ccs.itd.umich.edu
  39. Director of Advanced Technology   AppleLink: MACgician
  40. Aladdin Systems, inc.          GEnie:     MACgician
  41.