home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15195 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.1 KB

  1. Path: sparky!uunet!usc!wupost!waikato.ac.nz!ldo
  2. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Is a resource fork already open?
  5. Message-ID: <1992Sep9.152751.10707@waikato.ac.nz>
  6. Date: 9 Sep 92 15:27:51 +1200
  7. References: <39464@imag.imag.fr> <1992Sep8.153520.10687@waikato.ac.nz> <ksand-080992093511@wintermute.apple.com>
  8. Followup-To: comp.sys.mac.programmer
  9. Organization: University of Waikato, Hamilton, New Zealand
  10. Lines: 11
  11.  
  12. In article <ksand-080992093511@wintermute.apple.com>, ksand@apple.com (Kent Sandvik) writes:
  13. > The canonical way is to check if the resource file is open is to
  14. > call PBGetCatInfo and check bit 2 of the ioFilAttrib field. Ugh.
  15.  
  16. Yeah, but that doesn't tell if you if it was opened by the Resource Manager.
  17. All it tells you is that someone has used OpenRF.
  18.  
  19. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  20. Computer Services Dept                     fax: +64-7-838-4066
  21. University of Waikato            electric mail: ldo@waikato.ac.nz
  22. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  23.