> Any body know how to determine if an application (PRC) is stored in ROM or
> RAM?

MemLocalIDKind(dbID) will be either:
        memIDPtr - if the database is in ROM        -OR-
        memIDHandle - if the database is in RAM

> I need to generate a list of all apps stored in ROM and all apps stored in
> RAM on a PALM device.

You can use DmGetDatabase with 0 through DmNumDatabases to iterate through
the databases on a card (not an expansion card), and use MemNumCards to
iterate through the cards. Or you can use DmGetNextDatabaseByTypeCreator to
do all the work, including filtering by type and/or creator if you want.
Finally, you can use SysCreateDataBaseList to build a list of databases.

In all three cases, you can then use MemLocalIDKind to determine whether
each database is in RAM or ROM.
--
Danny @ Palm

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