Here's another option that's easy, and it's the one I use.
Create an empty project. (ie, no code besides a PilotMain.) Move a bunch of resources to this project. Change the output file name to ###.pdb, change it's creator to the same as your program, and change the type to something other than appl. Compile. Now you have a .pdb file. Now in your main application's AppStart, open this .pdb with:
DmOpenDatabaseByTypeCreator('(.pdb type)','FAN2',dmModeReadOnly);
Now all those resources are availiable just like if you linked them into your .prc. (Of course you now have another file to ship.)
This basically allows you to use Constructor without worrying about any limits.
You extend this technique to avoid the runtime load and separate file by using the PRC Merge capabilities of the Palm OS 68K linker... take the two targets that you've setup, say "Foo1.prc" and "Foo2.prc", then add the two PRC files to a Palm OS 68K Linker target with the PRC Merge target settings, with the output file being Foo.prc. Make your merge target depend on the two separate targets. This works better if you use a "Code Resource" target for the second PRC file with an out-of-the-way code resource that can be ignored.
--
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/
