Greetings
In our project we use FrmCustomAlert for error messages. Resource named Universal is
defined with string "^1" and we call
FrmCustomAlert(UniversalAlert,any_text,"",""), where any_text is variable of type
char[].
It crash. Everytime this function is called it throws fatal exception. Stack shows
that it crashed in StrLen called by FrmCustomAlert.
But text is set in variable (at least debugger show it right).
We found we can 'repair' this error by using #defines, not variables... Why? Is it
error of PalmOS, or error of CodeWarrior compiler?
It crashed on both PalMOS 3.5 and PalmOS 3.1. We use Codewarrior 4.0.1 build 0436.
Any ideas?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/