At 8:29 AM +0100 10-01-00, Ramel Levin wrote:
>Since there is no promise that the PDB file sits on continuos memory (most
>chances it isn't), you will have to create a resource on the run, and add to
>it the PDB header and all the records.
The PDB format is by definition just one chunk of memory. An application
in a PalmOS device is NOT in .pdb format! It gets 'expanded' into a
resource file when it's loaded on the device.
To get the app in .pdb format, the easiest way is to just take the file
from the desktop.
If you want to include the .pdb file for app A inside another app (app B),
you just need to take the byte stream in the .pdb file and turn it into a
resource. To do this, you need some kind of desktop tool. It's
essentially copy/paste, but on the Mac you need to copy from the data fork
and paste into the resource fork of a file. (Clipboard Magician is a great
tool for this sort of thing.) On the PC every file is 'just' a data fork,
so I think it may be as simple as changing the extension of the file and
then telling constructor to include the app.
--Bob