I want to launch an application from an expansion card, and 
bundle a database with it. The Palm OS Companion says

To bundle a database with an application, give it
the same creator ID as the owning application, set the
dmHdrAttrBundle bit, and place it in the /PALM/
Launcher directory along with the application.

DataMgr.h in the PalmOS 4.0 SDK defines dmHdrAttrBundle as 0x800.

I've done all this, even taking the superstitious further step of 
setting the bundled bit on the application, but I don't get 
bundling behavior -- the launcher happily launches the 
application from the expansion card, but the database does not 
get copied to main memory.

The test platform is an m505 running PalmOS 4.0, with a 16MB 
Secure Digital card.  I use McFile (see 
http://www.jade.dti.ne.jp/~imazeki/palm/McFL/index-e.html) for 
moving files onto and off of the SD card.  I use a binary editor 
on the desktop to set the dmHdrAttrBundle bit on the database 
(and then back up the database from the Palm to the desktop and 
recheck it there to assure that the bit hasn't been stripped off).

Is there something I'm missing?

--Greg Lutz




-- 
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