Orasanu Iuliana wrote:
Hy all,
I'm trying to find on my device only some particular type of files (sometimes 
prc files, and sometimes pdb files).
I am using DmGetNextDatabaseByTypeCreator to find the files
and DmDatabaseInfo to see the name and the type of the file.
Prc files have (from what I have seen) the type = "appl" but the not allways... 
and Pdb files can have anything in the type field...
How can I do this?

Call DmDatabaseInfo and test if dmHdrAttrResDB is set in its attributes. If it's set, it's a resource database (prc). Otherwise, a records database (pdb).


   Luciano



Regards, Iulia


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

Reply via email to