lotus



previous page: 4.1) How do I tell fopen() to open a file the user has selected using StandardGetFile? (Files - Mac Programming)
  
page up: Mac Programming FAQ
  
next page: 4.3) Why do you say wdRefNum sometimes and vRefNum sometimes? Why do you say parID sometimes and dirID sometimes? (Files - Mac Programming)

4.2) When can I use the HOpen, HCreate etc file calls? Are they only System 7 calls? (Files - Mac Programming)




Description

This article is from the Mac Programming FAQ, by Jon Watte h+@austin.metrowerks.com with numerous contributions by others.

4.2) When can I use the HOpen, HCreate etc file calls? Are they only System 7 calls? (Files - Mac Programming)

All the HXxx calls that take a vRefNum and parID as well as the file
name are implemented in glue that works on any system that has HFS
(meaning 3.2 and up with the HD20 INIT, and all systems from System 6
and up)

The glue is available in MPW 3.2 and up, and Think C 5.0 and up. This
goes for all HXxx calls except HOpenDF; therefore, if you are interested
in System 6 compatibility, use HOpen instead and make sure you don't
allow file names beginning with a period.

 

Continue to:















TOP
previous page: 4.1) How do I tell fopen() to open a file the user has selected using StandardGetFile? (Files - Mac Programming)
  
page up: Mac Programming FAQ
  
next page: 4.3) Why do you say wdRefNum sometimes and vRefNum sometimes? Why do you say parID sometimes and dirID sometimes? (Files - Mac Programming)