Hi,
I am using CodeWarrior 6/ Palm OS SDK 4.0/Emulator 3.2
I am having problem drawing the list. The error occurs at line #4 below:
list = GetObjectPtr( ChecklistSectionDescrList ); //line #1
list->attr.hasScrollBar = true; //line #2
//set callback function //line #3
LstSetDrawFunction(list, ChecklistSectionFormDrawRecord); //line #4
Here is a copy of the error message from Palm OS Emulator:
MyApp just read from memory location 0x00003290, which is in the "items
Text" field of the frmListObj starting at 0x00003284, which belongs to the
form starting at 0x000031E8.
the data at this memory location is owned by the Form Manger. Applications
should not access the data directly. Instead, they should make the
appropriate Form Manager calls.
I set a breakpoint inside the callback function
ChecklistSectionFormDrawRecord() trying to see where it breaks, but it
didn't event go into the function. Please help. Thanks.
-Elizabeth
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/