lsr@apple.UUCP (Larry Rosenstein) (02/05/88)
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