Article View: comp.sys.mac
Article #24737Re: caveat to PBHCreate users
From: Larry Rosenstein
Date: Thu, 04 Feb 1988 21:10
Date: Thu, 04 Feb 1988 21:10
27 lines
1395 bytes
1395 bytes
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
Technical Details
Message-ID:
<7326@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsrReferences:
<336@metasoft.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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