I've been experimenting a little bit with a home-brew install app. This app
will install onto the (OS4 or OS5) PDA in one of two ways: after being
Hot-Sync'd onto the device, or from the SD/MMC card. Once there the user
would run it, and it would do its thing (a cross between a ZIP and an
install program). I was hoping to be able to use the recyclable bit to cause
the OS to clean up the PRC after installation, kind of like the MS-Windows
"Run Once" key.

Well the recyclable bit seems just right. But set the bit on a PRC, and the
OS will crash with a NULL memory pointer every time simply trying to install
the PRC!

Case 1: put the PRC on an SD/MMC card in PALM/Launcher, install the card,
and select the app. Memory error, apparently when the launcher is attempting
to copy the PRC into the storage heap.

Case 2: Hot-Sync the PRC onto the device. Memory error, apparently when the
Palm-side Hot-Sync app is attempting to copy the PRC into the storage heap.

Case 3: (desperate now) - leave the recyclable clear until the app runs,
then change it programmatically. Yes, same crash.

Any comments or helpful insights about the function of this header bit?
Perhaps this bit is really only for non-"appl" resource databases?

mjh

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

Reply via email to