At 14:04 2003-2-3 -0500, you wrote:
Hi all-
I am using Constructor 1.6 and am running into problems with what
seems to be an upper limit on resources.  From the archives I have
gathered conflicting reports:
At least one mention is made of 2800 being the most resources
allowed.
Another states that this is obviously not the case.

Either way I am getting errors regarding the memory when I try to
save constructor changes. When it doesn't kill Constructor, the
project generates the following link errors:
Error while creating/copying resource fork.
Error while saving resources.

Note: I have more than 90 forms in the project and am nearing 2800
resources.

Any comments are appreciated.
Constructor uses Mac OS resource files. Because of this, it has a hard limit of 2800 resources that can be stored in a single .rsrc file.

Constructor exacerbates this limit in a few ways. First, it stores each control of a form in its own resource, even though on the device, the form will be one resource. It also stores bitmap families using N+1 resources (where N is the number of family members). Again, on device, the family is a single resource.

You can't overcome this limit easily by using multiple .rsrc files, since the Mac OS 68K linker in CodeWarrior uses a Mac OS application as a temporary file that gets transformed by PalmRez into the final PRC file.

With CW for Palm OS V9, you can use the Palm OS 68K linker. It uses .bin files and .ro files to store resources befire they are linked into your .prc file, so there is no limitation to the size or number of resources (other than the limits of the device).

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

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

Reply via email to