Hi,
I did check what LstNewList returns, it returns me a 0 so its working properly. The
error is on the LstPopupList() line. I also tried using LstDrawList(). It shows memory
leaks in the log files.
if (LstNewList((void**)&frmP,1,10,10,50,50,stdFont,3,2) == 0)
{
list = (ListType*)GetObjectPtr((UInt16)1);
memList = SysFormPointerArrayToStrings(c,stringCount);
memP = (MemPtr*)MemHandleLock(memList);
LstSetListChoices(list,(Char**)memList,15);
LstPopupList(list);// line where the error occurs
MemPtrUnlock(memP);
}
Regards,
Salil.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/