At 04:47 PM 9/9/2002 +1200, you wrote: >Hi, > >I've got the 'error while creating/copying resource fork' >and 'error while saving resources' link errors that the >form indicates is sometimes caused by having more than >2800 resources. > >While we're using a lot of resources I thought that we were >well below that limit, but counting them by hand doesn't >appeal to me.
This is a Mac OS resource format problem. The problem you're seeing is probably related to forms, since Constructor and PalmRez store a form not as one resource, but as one resource for the form, and one resource for each control on the form. >Does anyone know of a tool that can count resources? I >tried using PRC2BIN but it doesn't seem to export form >elements separately (no point, I guess) so they're not >included in the 'count'. PRC2BIN won't do anything... you need something to count resources before your application has been linked. One possibility would be to disassemble your .rsrc file using the Rez compiler, then use a "search/replace" on "resource" to find out how many instances of "resource" you find in the file. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
