Thanks to those who offered help about my problem. I took care of the problem of the warning by declaring "s" to be "const char *" and that fixed the warning.

The suggestion to turn on all compiler warnings was the one that did the trick to solve the original problem, though. Besides for having some unused variables, some possibly unitialized variables, and suggestions of parentheses around "&&" and "||" instead of depending on precedent rules, I think the compiler warning that really solved the problem was when it found two times in MainFormHandleEvent() when I simply used "return" instead of "return handled". I was surprised to learn that you have to enable all warnings to see something that would be a serious problem in any case. Wouldn't this error pretty much always lead to crashes?

--
Curtis Cameron

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

Reply via email to