Actually, on second thought, I'm thinking that the problem might not be the call to LstSetListChoices at all. The ListType objects may still be invalid, but the bigger mistake would be that you allocated memory for the list elements within your FillLetsCookFormListWithData function(). As soon as you exit that function those memory allocations become invalid, so, when the list tries to draw (not AT the LstSetListChoices command, but probably shortly thereafter) it will crash.

Jinyoung Lee wrote:

Function "LstSetListChoices" is not working..

It crushes the emulator without error message..
<snip>

__________________________________________________

void FillLetsCookFormListWithData(ListType *titleLst, ListType *categoryLst, ListType *yieldLst) {
What about those input parameters? Do they actually point to valid ListType objects?



--
Bob

www.rmobile.ca
--------------
Mobile software for handheld computers and smartphones


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

Reply via email to