On Fri, Dec 08, 2000 at 01:11:00PM -0500, DeAnna Davidson wrote:
> I know this may seem silly, but indulge me.  Is it possible to use PAR to
> turn an already created pdb file into a prc and then append the records from
> the new prc as resources to a different prc?  I've loaded par and tried
> dozens of combinations of things, but nothing seems to be working out quite
> right for me.  Better yet, what I really want to do is append the entire
> pdb, header intact, to the prc as a resource and then create a database from
> image on the palm.  Can I add an entire pdb as a resource to a prc file
> using par?

You need to extract all the pdb records, probably rename them to
something like DATA0001.bin DATA0002.bin... (resource type and id
. bin) then use the par append function, or extract the resources from
the original and use par to recombine all (including the data
resources).

Resources can only be 64k, so you can't append the pdb whole if it is
larger.  Or you would have to split it up anyway.

And unless you want the memory space wasted it doesn't solve the
beaming problem.  You'd have to keep the 3M+ prc AND a 3M+ pdb.

Something else I don't understand - if you are relying on hotsync
anyway, why not just hotsync both databases but have the *Palm*
program "install" the database by copying the pdb entries into it's
own resource file?  It could do it in response to a hotsync.

Also the conduit could append these records from the raw file - I
think there is a sync add resource type call.  You would just have to
point it at the raw data that would have formed the pdb.

I guess I forgot the original specification - you just want to have
one database for beaming?  A Palm program that moved the pdb entries
to the prc upon hotsync would work.

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

Reply via email to