You need: * The number of strings in your list, this is your record count. > Because we are filtering as we load the list the number of records is known, but the number going into the list is not known
* The strings in a string array. A string array is a memory block from type (Char **). Every element is a point to a string. A string is just a memory block of type (Char *). Therefore: You need to allocate your string array. This is array = MemPtrNew(recordcount * sizeof(Char *)); Next you will have to allocate the string for every element of your string array. This is array[i] = MemPtrNew(StrLen(ptr) + 1); Now you fill the string StrCopy(array[i], ptr); Then you are ready and use it with LstSetListChoices() When you ready with your list, you will have to free all memory you have allocated: -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
