Thanks for your reply. I have just had time to try this out, but I'm a bit
confused as to how this should work.
I created a new target for compiling my .r file into a file called
translated.rsrc.
To do this I use MacOS 68k linker (as there is no other choice, I can't find
MacOS merge; I use NT if this helps?) and Palm Rez as the post linker. My
68K target is a 'PalmOS Code Resource'
However, using these settings I get
__RuntimeModule__: '__Startup__' referenced from '__DummyStartup__' is
undefined.
So I add a dummy startupcode.c with PilotMain declared in it to get rid of
this error, and I get 'translated.rsrc' out, which looks promising, but is
5k instead of the 6k, the size of the original .rsrc file.
However, when I try and use this file in the original .prc target, I get:
'Error while creating/copying resource fork'
'Error while saving resources'
Did I say a bit confused? I meant a lot confused!
Many thanks in advance,
Phil
Ken Krugler wrote in message <31041@palm-dev-forum>...
>
>Note that the resource file(s) generated by rezzing the .r have to be
>combined into a single .rsrc file that gets passed to PalmRez.
>
>Typically you'd do this by creating another target in your project
>file, which uses Mac OS Merge as the linker, and combines the
>generated .rsrc files with any regular .rsrc files and the output of
>the code linker to create a merged .rsrc file. Or you can add the
>merged .rsrc file to the linker target; either way works.
>
>The resulting file, which contains code, regular resources and
>generated resources, is then specified as the input to PalmRez in the
>PalmRez prefs panel.
>
>-- Ken
>
>Ken Krugler
>TransPac Software, Inc.
><http://www.transpac.com>
>+1 530-470-9200
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/