[comp.sys.mac.programmer] How to get the PATHNAME of a selected file with MacApp.

kcng@pollux.usc.edu (Keung-Chi Ng) (05/23/88)

	I am interested in finding out the PATHNAME of a selected
file (using OPEN in my application) because I want to read in the
other related files as well.  Since the TDocument.DoRead only provides
the vRefNum and aRefNum (the reference numbers for the volume and the
selected file on the disk), how can I get the PATHNAME with these
information provided by MacApp.  I am using MPW Pascal with MacApp and
any solution in Pascal seems to be fine with me.  Any pointers and
solutions as to how to extract the PATHNAME would be highly
appreciated.  Thanks in advance.

Keung-Chi Ng
kcng@pollux.usc.edu



Keung-Chi Ng
Computer Science Department, MC-0782
University of Southern California