home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19866 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.3 KB

  1. Path: sparky!uunet!usc!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
  2. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: FSOpen and System 7 Alias
  5. Message-ID: <1992Dec15.115704.22614@kth.se>
  6. Date: 15 Dec 92 11:57:04 GMT
  7. References: <1992Dec14.155040.8270@bcrka451.bnr.ca>
  8. Sender: usenet@kth.se (Usenet)
  9. Organization: Royal Institute of Technology, Stockholm, Sweden
  10. Lines: 24
  11. Nntp-Posting-Host: dront.nada.kth.se
  12.  
  13. In <1992Dec14.155040.8270@bcrka451.bnr.ca> Anthony Van Alphen <ava@bnr.ca> writes:
  14.  
  15. >If I write an application and use the standard FSOpen FSRead functions
  16. >supplied with
  17. >MPW can the file be aliased and the alias opened?  When I try to open an
  18. >alias I think I 
  19. >am opening the alias itself.  Is there a trick? Or am I doing something
  20. >wrong?
  21.  
  22. Actually, FSOpen and FSRead are supplied by the operating system...
  23.  
  24. Anyway, if you read the chapter on the Alias Manager in Inside Mac VI,
  25. you'll see that Standard File and the Finder resolves aliases for you,
  26. but other files you open must first be passed to ResolveAliasFile.
  27.  
  28. Cheers,
  29.  
  30.                             / h+
  31.  
  32. -- 
  33.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  34.    The word "politics" is derived from the word "poly", meaning
  35.    "many", and the word "ticks", meaning "blood sucking parasites".
  36.                      -- Larry Hardiman
  37.