[comp.sys.mac] An HFS question

waldman@endor.harvard.edu (benjamin Waldman) (09/21/87)

I seem to be having a slight programming problem and I was wondering if
anyone out there could help.

I'm saving a file onto an HFS disk, and I let the user pick where it's
going to go with the Standard File Dialog box.  I get the volume reference
number (or the working directory reference number) from the SFReply record,
and use it in the FSOpen call.  However, the file is always saved to the 
root, and not the folder where it should go.

Any idea on where I could be doing something wrong?

			Thanks in advance,
			Ben Waldman
			waldman@endor.harvard.edu

jv0l+@andrew.cmu.edu.UUCP (10/02/87)

Are you sure that you are saving the files onto an HFS-formatted disk?

The symptoms you describe indicate that you are saving a file onto an
MFS-formatted disk.  Just because you are using HFS routines does not mean
that you can place files into folders on MFS disks.  MFS disks are still
flat-file disks.

-Justin