Hello All,
I'm attempting to use the following code but I get an error when I free the
memory. What am I doing wrong?
CharPtr typeP;
ListPtr listP;
typeP = MemPtrNew(10);
listP = GetObjectPtr(DetailEntryTypePopupList);
typeP = LstGetSelectionText(listP, LstGetSelection(listP));
... /*do something with typeP*/
MemPtrFree(typeP);
The error does not have any text when using CW6. Any help would be
appreciated. Thanks
Walter Black
BuildNet, Inc
Software Engineer
[EMAIL PROTECTED]
919-941-4752
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/