home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!concert!borg!strauss!lari
- From: lari@strauss.cs.unc.edu (Humayun Lari)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: vrefNum from Path Name
- Message-ID: <14960@borg.cs.unc.edu>
- Date: 2 Sep 92 21:43:26 GMT
- References: <47022@shamash.cdc.com> <Btwwt5.7Bv@taligent.com>
- Sender: news@cs.unc.edu
- Distribution: usa
- Organization: The University of North Carolina at Chapel Hill
- Lines: 13
-
- In article <Btwwt5.7Bv@taligent.com> keith@taligent.com (Keith Rollin) writes:
- >Remember, Inside Mac says that you should _NOT_ create FSSpecs by hand. You
- >should always call FSMakeFSSpec. Don't go filling in the parID and vRefNum
- >fields yourself. (There is one exception to this, which is that you can freely
- >assign one FSSpec record to another.)
-
- What about when the file/directory you're referring to does not exist?
- If I remember correctly, FSMakeFSSpec checks to make sure that it does, so
- it would return an error code when you're trying to create an FSSpec prior to
- performing a Save As... Or am I wrong about this? Keith?
-
- Humayun Lari
- (lari@cs.unc.edu)
-