Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!neoucom!sam From: sam@uhura.neoucom.EDU (Scott A. Mason) Newsgroups: comp.sys.mac.programmer Subject: Bug in File Manager, Docs Message-ID: <1990Oct15.124323.27579@uhura.neoucom.EDU> Date: 15 Oct 90 12:43:23 GMT Sender: sam@uhura.neoucom.EDU (Scott A. Mason) Organization: Northeastern Ohio Universities College of Medicine Lines: 17 I was writing a little utility program the other day involving the use of PBGetCatInfo which requires a CInfoPBPtr. The pointer I passed to the routine was always NIL which threw me for about an hour or so. The solution was well at hand, though. In IM-IV (File Manager chapter), the description of CInfoPBPtr is CInfoPBPtr = ^cInfoPBRec Now this is fine, but cInfoPBRec doesn't exist! It is actually CInfoPBRec. The moral of this story is to use CInfoPBRec and pass &CInfoPBRec to your low level File Manager routines. I'm using LSC 3.02 so this may be LSC 3.02 specific, but the docs in IM-IV are definitely wrong! -- -------------------------------------------------------------------------------- "If it ain't broke, don't fix it," and certainly don't blame me. UUCP: {pitt,lll-winken,usenet,aablue}!neoucom!sam INTERNET: sam@neoucom.EDU Scott A. Mason, Coordinator of Systems Operations, NEOUCOM