At 11:25 PM 7/27/2005, you wrote:
Good idea: one was 80 bytes. I finally managed to make things work, but CW
seems
shaky: at times, you get a wrong PRC; but re-creating the target with the
very same
settings suddenly works.
One last question: my complete PRC (code+resource) is 400 Kb, but my
resource PRCs
are also 400 Kb, even if I removed other segments from these targets (that
I cloned
from the regular ones). I tried checking "Link Single Segment", removed
all debug
symbols, etc, to no avail. Normally, this resource data should be about 32 Kb,
given that the first segment (out of 5) of my full PRC hold both the
resource data
and a few source files. With PRCExlorer, I notice code resources among
other UI
resources in this would-be UI resources-only 'rsrc' PRC. How can I drop them?
I don't know exactly how you have your targets setup -- what names you're
giving things or if you're linking the output of one target into
another. You shouldn't see any code resources in the merge target -- the
whole part of the linker that pulls in code is disabled, but if it's
merging a PRC from another target into your PRC, code segments could be
introduced. Just carefully check the file list and turn off any files that
aren't your component resource files.
-- Ben Combee, Senior Software Engineer, palmOne, Inc.
"Combee on Palm OS" weblog: http://palmos.combee.net/
Developer Forum Archives: http://news.palmos.com/read/all_forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/