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. <


>You seem to be allocating an awful lot of MemPtrNew statements without any 
>MemPtrFree? <
I have tried MemPtrFree inside the routine, and it's fine
until the second pass, then it faults on a MemRelease error.

So you think this is not being created each time the routine
is called. ?
If this is the case do I put a loop in until the pointer is actualy
created.?

Also, 
Char **strArray = NULL; 
Ok I can change this to a global
but why would that matter becuse its done its work, and its
recreated when the routine is called again ?

>You're passing strArray to a LstSetLstChoices, but the pointer will be
invalid when you exit your function.<

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

Reply via email to