I have read many a posts on this question, however, none seem to be working
for me.  I have attempted to simplify this with no results.  I am no longer
getting fatal exceptions, however nothing is happening.

What is the key ingredient i'm missing here?
static char* gPlateString =
"PL3/16x\0PL1/4x\0PL5/16x\0PL3/8x\0PL1/2x\0PL5/8x\0";
static char** gListString;

static Boolean PopulateList(void)
{
 FormType* frmP = FrmGetActiveForm();
 ListType* lstP = (ListType*) FrmGetObjectPtr(frmP, lstDesc);

 gListString = (char**) MemPtrNew(StrLen(gPlateString));
 gListString = (char**) SysFormPointerArrayToStrings(gPlateString, 6);

 LstSetListChoices(lstP, gListString, 6);
 LstDrawList(lstP);

 return true;
}



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

Reply via email to