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

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!mumbo.apple.com!gallant.apple.com!wintermute.apple.com!user
  2. From: ksand@apple.com (Kent Sandvik)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Is a resource fork already open?
  5. Message-ID: <ksand-080992093511@wintermute.apple.com>
  6. Date: 8 Sep 92 16:35:34 GMT
  7. References: <39464@imag.imag.fr> <1992Sep8.153520.10687@waikato.ac.nz>
  8. Sender: news@gallant.apple.com
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: Apple
  11. Lines: 13
  12.  
  13. Greg Robbins mentioned to me that the DTS Q&A stack contains the 
  14. needed information to find out when the resource fork is open
  15. (silly me, have to add the stack to my On Location database).
  16.  
  17. The canonical way is to check if the resource file is open is to
  18. call PBGetCatInfo and check bit 2 of the ioFilAttrib field. Ugh.
  19.  
  20. Kent
  21. "I would rather have a thousands idiots attacking my position, than
  22. have one idiot helping to defend it."    [Paraphrased from Voltaire]
  23. -------------------
  24. Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
  25. DISCLAIMER: Private activities on the Net.
  26.