There's a couple of things that look suspicious.
You should check the return value from MemPtrNew instead of using it
blindly with confidence that a real new pointer is going to come back,
my guess is it's returning 0.
The reason for this is probably...
You seem to be allocating an awful lot of MemPtrNew statements without
any MemPtrFree?
Also, 
        Char **strArray = NULL; 
You're passing strArray to a LstSetLstChoices, but the pointer will be
invalid when you exit your function.
Haven't looked any further into it than that, but hope it's of some
help.
Regards
John Sutton

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

Reply via email to