Can someone take a look at this chunk of code and tell me why I get this error:
ListPtr lst;
ControlPtr ctl;
CharPtr name;
FieldPtr fld;
lst = (ListPtr) GetObjectPtr (Configure1List_3List);
LstSetSelection (lst, 1);
name = LstGetSelectionText (lst, 1);
ctl = (ControlPtr) GetObjectPtr (Configure1P_3PopTrigger);
CtlSetLabel (ctl, name);
The emulator gives me the "has just read directly from an unlocked
memory chunk"
I've pretty much copied this code from the sample applications, and I
can't figure out what I'm doing wrong.
____________________________________________________
John Spicer
H: (780) 903-6224
____________________________________________________
<mailto:[EMAIL PROTECTED]>
____________________________________________________
Author: MakeItGrow, MacLotto, TiCalendar, MacBillman,
Image-In Engine, TiCalendar, DrugMaster, MacDirectPay
If you want to work on your computer, buy an IBM.
If you want to DO work on your computer, buy a Mac.
____________________________________________________
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html