> When I use DmGetNextDatabaseByTypeCreator to iterate through my
> application's databases, I find all my databases installed on card 0, but
> none of the ones installed on my memory expansion card.
Expansion cards aren't the same kind of "cards" that card numbers refer to.
Springboards are an exception. All others expansion cards are accessed as a
file system rather than a storage heap.
> 1. How can I iterate through all databases of a particular creator
> and type on all cards?
DmGetNextDatabaseByTypeCreator finds databases on all cards.
> 2. How can I tell what card numbers are available?
0 to MemNumCards() - 1. Generally, have a look at the Memory Manager APIs as
well as the Data Manager APIs. The Data Manager sits on top of the Memory
Manager. A lot of functions aren't implemented in both layers. For example,
there's DmNewHandle as well as MemHandleNew, but there's only MemHandleSize.
A lot of applications for Palm OS assume card number zero. This works fine
on most devices, but not on Visors.
--
Danny @ Palm
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/