home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!lll-winken!sun-barr!cs.utexas.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!ba0k+
- From: ba0k+@andrew.cmu.edu (Brian Patrick Arnold)
- Newsgroups: comp.sys.mac.programmer
- Subject: HFS Calls in IM6?
- Message-ID: <keagGhC00UhWM6nGQa@andrew.cmu.edu>
- Date: 25 Aug 92 15:39:25 GMT
- Organization: Carnegie Mellon, Pittsburgh, PA
- Lines: 21
-
-
- 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? 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. I am
- compelled to assume it is safe to use H calls documented in Inside
- Macintosh vol 6 provided I have the correct include files, and the
- correct linker glue? Am I just stupid and I didn't find the sentence in
- Inside Macintosh Vol 6 that explains that I can call the HFS High-level
- calls (HRename, HOpenDF etc.) as long as HFS is present? These are the
- ones that accept dirIDs, instead of continuing to use FSOpen etc with
- working directories, and I am NOT talking about the FSp calls that
- require System 7 obviously. Somebody set me straight. Thanks,
-
- - Brian
-