home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ames!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!janix.unt.dec.com!gbi01.enet.dec.com!caruso
- From: caruso@gbi01.enet.dec.com (Angelo Caruso)
- Subject: Re: How to find fRefNum?
- Message-ID: <1993Jan4.224237.9256@janix.unt.dec.com>
- Sender: news@janix.unt.dec.com (USENET News System)
- Organization: Digital Equipment Corporation
- References: <1993Jan4.175435.5894@nosc.mil>
- Date: Mon, 4 Jan 1993 22:37:53 GMT
- Lines: 20
-
-
- In article <1993Jan4.175435.5894@nosc.mil>, frantzen@nosc.mil (Louise E. Frantzen) writes...
- >
- >Hello everyone,
- >
- >Could someone please tell me exactly what an fRefNum is and how one
- >obtains this mysterious number? I am looking at Inside Mac VI page 22-100
- >at the SetupAIFFHeader call whose first argument is an fRefNum. I have
- >looked through all the Inside Macs I can get my hands on and can't find
- ......
-
- Well, I am really glad you asked a question I can answer 8-). fRefNum is
- returned by any call used to open a file. I use HOpenDF/HOpenRF, there are
- other.
-
- Enjoy , Angelo.
-
- P.S. If I understand IM IV (it isn't always the case...) you have to open a
- file for writing and then SetupAIFFHeader, given the file reference of that
- file, writes the right header for you.
-