> With debug ROM, the emulator reports that
> the program counter becomes invalid at the
> end of the function...

I have found the error:

there was a funtion call in between
  ...
  SysStringByIndex(Resxy, index, text, 40);
  ...
and 'text' was shorter than 40 bytes:
that distroyed the stack so the program
crashed when executing the return instruction.

Sorry for that
Rudolf Polzer



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

Reply via email to