friedman@paul.rutgers.edu (Gadi ) (07/15/88)
Hello
I have been trying to write a routine that reads in an HFS directory,
and have been having some trouble. I'm using LSP 1.11.
Partial code...
type
VCBptr = ^VCB;
begin
vcbqhdr := GetVCBQHdr;
elemptr := vcbqhdr^.qHead;
vcb := VCBptr(elemptr);
vcb^.vcbVN contains the name of the Volume.
vcb^.vcbNmRtDirs contains the number of root Directories.
...BUT
vcb^.vcbCTRef is always zero.
It should contain a "Path reference number for catalog tree"
I was planning to use this number to read in the directory.
Any suggestions would be helpful since this will be my first Mac program.
(Thank God for TranSkel)
Gadi
--
uucp: {ames, cbosgd, harvard, moss}!rutgers!aramis.rutgers.edu!friedman
arpa: FRIEDMAN@ARAMIS.RUTGERS.EDU