At 2:02 PM -0700 9/19/03, N wrote:
I am calling one function from ApplicationStart() and
again at FormOpen Event.  When I call it second time
from FormOpen event I gets "Run68K.c Line:2297 Invalid
read from 00000516" error.

This error appear only first time I run the
application.  After soft reset I never get this error.


If I put an alert in my function error never appears
not even first time.


Its making me crazy. Any ideas.

Thanks in advance.

The short answer is that something is executing a MOVE.W instruction, where 0x0516 is the source memory location. I don't know enough about PalmSim to comment on your debugging options at the point where you get the message. As Hal said, it would be a good idea to see what kind of results you get when running under the Palm OS Emulator, which will let you enter the debugger and see the exact line (in source or assembly) that is causing the access.


-- Keith Rollin
-- Palm OS Emulator engineer

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to