hi,all
I am debugging my demo project,when I click the ExitButton to Exit the
project:
palm os Emulator give me the messages:
"kk(1.0) just read from memory location 0x00004C9A,which is in an
unallocated chunk of memory.
an "unallocated chunk of memory" is a chunk of memory that has not
beenreserved for use
by the application through calling MemPtrNew orMemHandleNew.It should not be
accessed by
applications under any circumstances.such an access usually means that an
application is
accessing achunk that used to be allocated to the application but has since
been returned
with MemPtrFree or MemHandleFree."
continue,palm os Emulator give me 6 messages(the content is same,only the
address is replaced by
0x0x00004C84,0x00004CA0,0x00004C88,0x00004C88,0x00004C88,0x00004CB6).
Debug the project step by step,the messages is appeared on this
position(FrmCloseAllForms function):
static void AppStop(void)
{
....
FrmCloseAllForms();
....
}
I was running the code on POSE(ROM:m505),CodeWarrior version 8.3.
when I have changed the ROM m505 to SONY N710C,the messages
disappeared.
When I have deleted the function about windows,such as
WinCreateOffscreenWindow(..),WinCopyRectangle(..),the messages
disappeared.
Thanks for any helps!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/