Thanx Danny ----- Original Message ----- From: Danny Epstein <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Sent: Wednesday, March 27, 2002 12:08 AM Subject: RE: CARD NO.
> > Can anybody explain the Card No. concept of database. > > Card numbers are largely historical at this point. The early Palm OS devices > had printed-circuit boards containing RAM and ROM. This enabled the devices > to be upgraded to have a newer OS and/or more RAM. The OS was designed to > support multiple such cards, but almost all devices only had one (at a > time): card zero. The exception is Visors, where I believe the Springboard > module is card one. These card numbers should not be confused with > "expansion cards" such as SD/MMC, Memory Stick, and CF. These are accessed > using VFS rather than the Data Manager, so "card numbers" aren't used. > > > Also what kinda situations I shall have to handle while assigning a > > card no. to a Database. > > You don't assign card numbers to databases. When you create a database, the > system puts it on whatever card it wants and tells you where it put it. The > exception is ExgDBRead, which takes a card number as input. DmFindDatabase > also takes a card number as input. In practice, many apps just assume > everything's on card zero. If you want your app to work on a Springboard > memory module, you should avoid this assumption. > -- > Danny @ PalmSource > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
