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