Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: caveat to PBHCreate users Message-ID: <7326@apple.UUCP> Date: 4 Feb 88 21:10:30 GMT References: <336@metasoft.UUCP> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 26 In article <336@metasoft.UUCP> spud@metasoft.UUCP (David Hayes) writes: >After much thrashing i have found an error in IM 4 that led me to >incorrectly call PBHCreate. > > when i created files using these parameters, my files showed > up on the desktop but they were not seen by Mockwrite or > the LSC editor or even my application. only when i included > the parameter ioFVersNum (set to 0) did my files become > visible to the above editors. Although other File Manager calls are a bit less destructive than PBHCreate, but this problem can happen with other calls as well. If you fail to set the ioFVersNum to 0 on PBHOpen, for example, the open will fail. I think that the HFS does ignore this field, the problem is that a PBHCreate call will be interpreted as a PBCreate call if the machine doesn't have HFS or if an MFS volume is involved. -- Larry Rosenstein Object Specialist Apple Computer AppleLink: Rosenstein1 UUCP: {sun, voder, nsc}!apple!lsr CSNET: lsr@Apple.com