From: Jim I. <ji...@ap...> - 2002-03-21 19:22:27
|
On Thursday, March 21, 2002, at 05:08 AM, Andreas Otto wrote: > > Hi, > > I found out that the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > kCFragResourceType > > Mac OS 9 header: > CodeFragments.h > > enum { > kCFragResourceType = 'cfrg', > kCFragResourceID = 0, > kCFragLibraryFileType = 'shlb', > kCFragAllFileTypes = -1 > }; > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > > the doc says > > > /* > * See if this fragment has a 'cfrg' resource. It will tell us > where > * to look for the fragment in the file. If it doesn't exist we > will > * assume we have a ppc frag using the whole data fork. If it does > * exist we find the frag that matches the one we are looking for > and > * get the offset and size from the resource. > */ > > > "cfrg" resource is needed, but I'm a ppc shlb > > why does it search for that resource and who make this resource ? CodeWarrior can. This is the "old style" way of doing it. But there is no reason not to support it. The real issue for you is why you have a cfrg resource (ResEdit will confirm whether you do or not), and why the contents seem to be mangled... Jim -- Jim Ingham ji...@ap... Developer Tools - gdb Apple Computer |