Thanks for the info, Tom.
I've been using Codewarrior so I'm not sure what I need to do
here. On the dialog for the Palmrez Post Link, it has two lines
for input files. The first one is "Mac Resource Files" and the
next one is "Text Description Files". Any idea how I could
make this work for me?
-Greg
Tom Zerucha wrote in message <25815@palm-dev-forum>...
>
>On Thu, Sep 28, 2000 at 11:02:54PM -0400, PalmOS wrote:
>> Is there a way I can package .PDB files into a .PRC
>> (as resource records) and then recreate them as
>> Palm databases when the program is run using
>> DmCreateDatabaseFromImage? How is this done?
>
>Yes, if all databases are less than 64k. You can use any resource
>type and ID (e.g. I use "cord" resources for my concorde program)
>
>Basically you simply take the .pdb image and save it off as an image.
>If you use prc-tools, just rename it to RSRCnnnn.bin and add it to the
>list of .bin files to be merged.
>
>Then lookup the resource by the type and ID (you will need to open the
>Database if the .prc is separate), then lock the handle, then do the
>DmCreateDatabaseFromImage on it.
>
>If you have a DB over 64k, you can break it apart and maybe use
>ExgDBWrite and feed the resource pieces to the callback.
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/