Hi...
when I compile that , Its give me that errors
"illegal implicit conversion from 'void*' to 'SysDBListItemType *'
dbListIDsP= MemHandleLock(dbListIDsH) "
SysDBListItemType *dbListIDsP;
static Handle dbListIDsH;
UInt16 dbCount = 0;
Boolean status;
UInt16 counter;
SysDBListItemType theItem;
CharPtr dd;
status = SysCreateDataBaseList('DB99', 'DBOS',
&dbCount, &dbListIDsH, false);
if (status == true && dbCount > 0)
{
dbListIDsP = MemHandleLock
(dbListIDsH);
dd = dbListIDsP[counter].name;
MemPtrFree (dbListIDsP);
}
Thanks
Dilek
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 02.08.2002
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/