Can anyone who has created a dynamic List please tell me
what's wrong with the following code snippet:
char items[10][5];
StrCopy(items[0], "AAC");
StrCopy(items[1], "BBD");
StrCopy(items[2], "CCA");
StrCopy(items[3], "ADD");
...
LstSetListChoices (listP, items, 4);
I get this compile time error:
Error : cannot convert
'char (*)[5]' to
'char **'
test.c line 4599 LstSetListChoices (listP, items, 4);
I've also tried &items in the function call but it doesn't
work either. What am I doing wrong?
Steve
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html