home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14757 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!destroyer!gatech!hubcap!opusc!usceast!walkerj
  3. From: walkerj@math.scarolina.edu (Jim Walker)
  4. Subject: Questions on UnmountVol and SetFileInfo
  5. Message-ID: <walkerj.715197126@milo.math.scarolina.edu>
  6. Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
  7. Organization: USC  Department of Computer Science
  8. Date: 30 Aug 92 17:52:06 GMT
  9. Lines: 15
  10.  
  11.  
  12. (1)  Inside Mac IV says that PBUnmountVol will close any open files on a
  13. volume it's unmounting.  But when you drag a volume to the trash in Finder,
  14. Finder calls UnmountVol, and if there were open files on the volume, the
  15. call fails with a fBsyErr.  That error is not listed as one of the
  16. possibilities in the PBUnmountVol documentation.  What's going on?
  17.  
  18. (2)  I traced a crashing INIT to the fact that _SetFileInfo was calling
  19. NewDialog.  It created a dialog with 4 userItems and one button named
  20. "Stop", but never actually displayed the dialog.  Can anyone tell me what
  21. this dialog is for?
  22.  
  23. --
  24.  
  25.  -- Jim Walker  USC Dept. of Math.  walkerj@math.scarolina.edu
  26.