Hello
I wonder if someone knows how to load a list with an array of strings. I
have used a Char ** and the function LstSetListChoices. But I get this error
message: "My program" just wrote to memory location 0X00000, which is in low
memory. It should not be directly accessed by applications under any
circumstances.
Do any of you have a god example of how to load a list??
Here you have my function:
// Update listPopupTool's choices:
Char**ListText=NULL;
ListText[0]="Anki";
ListText[1]="Maria";
FormPtr form = FrmGetActiveForm();
UInt16 index = FrmGetObjectIndex(form, lstREPORTS);
ListType *list = (ListType *) FrmGetObjectPtr(form, index);
LstSetListChoices(list, (Char **)ListText, 1);
Thankful for help //Maria
_________________________________________________________________
H�mta MSN Explorer kostnadsfritt p� http://explorer.msn.se
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/