From: "Ben Combee" <[EMAIL PROTECTED]>
> At 04:47 PM 9/9/2002 +1200, you wrote:
> >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.
> >
> 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.
>
Hmm.  I'm using rcp files and checked for .r file marked as
read-only (been caught like that before).

The problem was only appearing for one target, I've
since moved some resources around on a form and both
targets now have the problem.  Suggests it's something
evil.  Any other ideas?

> >Does anyone know of a tool that can count resources?
>
> 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.
>
Excellent idea.  I get about six hundred instances.  Confirming
that it's probably some form of corruption or invalid property.
This didn't pick up bitmaps (of which we've got several hundred)
but that's still not going to bring the total up to 2800.

Chris Tutty


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to