Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!swrinde!ucsd!hub!6600pete From: 6600pete@ucsbuxa.ucsb.edu (GurgleKat [Pete Gontier]) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK Pascal vs. PBGetFCBInfo on System file Message-ID: <4142@hub.UUCP> Date: 2 Mar 90 19:14:21 GMT References: <1987@husc6.harvard.edu> Sender: news@hub.UUCP Reply-To: 6600pete@ucsbuxa.ucsb.edu Lines: 19 From article <1987@husc6.harvard.edu>, by siegel@endor.harvard.edu (Rich Siegel): > In article <4107@hub.UUCP> 6600pete@ucbsuxa.ucsb.edu (GurgleKat [Pete Gontier]) writes: >>when I try to call PBGetFCBInfo while in the THINK Pascal environment, >>everything hangs about 75% of the time. > I would suggest that you use the approach given in Technical Note > #67 ("Finding the blessed Folder"), which describes how to find the dirID > of the system folder using a PBHGetVInfo. I suspect it's considerably safer > than screwing around with the resource map ordering. You're probably right. However, that doesn't answer my question. I may want to use PBGetFCBInfo at some point in the future and I might run into this problem then, as well. Anyway, the problem has managed to 'go away.' It lasted across several boot cycles, so I was convinced it wasn't the state of the machine. Now it seems to work OK. -- Pete Gontier | InterNet: 6600pete@ucsbuxa.ucsb.edu, BitNet: 6600pete@ucsbuxa Editor, Macker | Online Macintosh Programming Journal; mail for subscription Hire this kid | Mac, DOS, C, Pascal, asm, excellent communication skills