When I change the label on a popup trigger with this:
{
CharPtr s = MemPtrNew(sizeof(char[MAX_ITEM_PRICE_SIZE]));
MemSet(s,MAX_ITEM_PRICE_SIZE,0);
s = StrIToA(s,qty);
CtlSetLabel(GetObjectPtr(ItemEditQtyPopTrigger),s);
MemPtrFree(s);
}
and then try to use the popup trigger on the form, I get an error reading
from an unallocated chunk.
What am I doing wrong?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- Re: Trigger label changes bombing Matt Mason
- Re: Trigger label changes bombing Philip Sheard
- Re: Trigger label changes bombing Alan Ingleby
- Re: Trigger label changes bombing Dave Lippincott
- Re: Trigger label changes bombing Neil Rhodes
- Re: Trigger label changes bombing Philip Sheard
- RE: Trigger label changes bombing Borislav Kolev
- Re: Trigger label changes bombing Peter Epstein
- Re: Trigger label changes bombing Peter Epstein
- Re: Trigger label changes bombing Pietro F. Maggi
