Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!uw-beaver!sumax!thebes!polari!6sceng!blm From: blm@6sceng.UUCP (Brian Matthews) Newsgroups: comp.sys.mac.programmer Subject: Re: Resource type counting in a single file: mission impossible? Message-ID: <500@6sceng.UUCP> Date: 12 Aug 90 18:09:43 GMT References: <6078@jhunix.HCF.JHU.EDU> Organization: Six Sigma CASE, Inc. Lines: 14 Keywords: Resource, type, help In article <6078@jhunix.HCF.JHU.EDU> hsu_wh@jhunix.HCF.JHU.EDU (William H Hsu) writes: |(I have an ancient copy [of Inside Mac] from the days when it was one volume), Rule 1 of Macintosh programming: Always have the latest Inside Mac available. |Surely, I thought, there |must be a function that does only the current resource file -- if |only I could get the right set of arguments to GetIndType(), all |would be well. See the Resource Manager chapter of Inside Mac Volume IV, where Count1Types, Get1IndType, etc. are documented. They do what you want. -- Brian L. Matthews blm@6sceng.UUCP