Hi Hermes
Its okey.
Thanks

Hi Dilek,

Try explicit conversion:

dbListIDsP = (SysDBListItemType*)MemHandleLock (dbListIDsH);


Regards


-----Original Message-----
From: Dilek Özgü [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 16:11
To: Palm Developer Forum
Subject: SysCreateDataBaseList error



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/

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

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

Reply via email to