One Quickie


Derezzing resource files (General->Random)
I needed to derez a resource file, with the data living in the resource fork, and get editable STR and STR# entities. Here's one way to do it, with the moving pieces in bold.
% /Developer/Tools/DeRez -useDF  ./blarg.rsrc  /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon/MacTypes.r  > oopack2
And the reverse process is like:
% /Developer/Tools/Rez -o blah.rsrc -useDF  /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon/MacTypes.r oopack2



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com