Hi, I need some help to find Database Name.
I try to search Database Names by type and save them to an array
. I use "DmDatabaseInfo". However, after program finish, all Items
in the array always has the same value? Does anyone know what I did
wrong. Here is the part of function I use
for (i=0; i<DmNumDatabases(0); i++) {
dbID = DmGetDatabase(0,i);
DmDatabaseInfo(0,dbID,nameP,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,&type,NU
LL);
if (type == MyType) {
NameList[index] = nameP;
index++;
}
}
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/