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

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!smurf.sub.org!news
  2. From: urlichs@smurf.sub.org (Matthias Urlichs)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: How to tell if replacing w/ SFPutFile?  aaaarg!
  5. Date: 10 Sep 1992 15:25:56 +0200
  6. Organization: University of Karlsruhe, FRG
  7. Lines: 17
  8. Message-ID: <18nid4INNed@smurf.smurf.sub.org>
  9. References: <87333@netnews.upenn.edu>
  10. NNTP-Posting-Host: 127.0.0.1
  11.  
  12. In comp.sys.mac.programmer, article <87333@netnews.upenn.edu>,
  13.   peter@sysnext.library.upenn.edu (Peter C. Gorman) writes:
  14. > It's very nice that SFPutFile asks users if they want to replace an  
  15. > existing file, but how is my program to know if they've said 'yes'?  
  16. > StandardPutFile, of course, sets sfReplacing, but what do you do for Sys  
  17. > 6.x??  I've been searching New IM: Files and SpInside Mac to no avail.
  18. Just try to PBHCreate the new file. If that returns dupFNErr, PBHDelete it
  19. and try again.
  20.  
  21. -- 
  22. Absent: Exposed to the attacks of friends and acquaintances; defamed;
  23. slandered.
  24. -- 
  25. Matthias Urlichs  --  urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de   /(o\
  26. Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany  --  +49-721-9612521     \o)/
  27.