>Device hanging at reset is a classic sign of accessing globals when you
>shouldn't, yes? It was crashing for the Find dialog too. So I looked at my
>PilotMain, and there, hiding, was:
>
> char msg[5]=" ";
>
>Obviously, the initialisation string would be stored as a fixed string
>somewhere in the application - effectively a global reference.
Followup - how ARE you meant to work with string literals during subcalls? I
presume code like
start = StrStr(text, "My literal string");
is equally invalid?
- CodeWarrior won't reset handheld? Paul Gargan
- Re: CodeWarrior won't reset handheld? Jun-Kiat Lam
- Re: CodeWarrior won't reset handheld? Paul Gargan
- Re: CodeWarrior won't reset handheld? Neil Rhodes
- Re: CodeWarrior won't reset handheld? Paul Gargan
- Re: CodeWarrior won't reset handheld? Paul Gargan
- Re: CodeWarrior won't reset handheld? Neil Rhodes
- Re: CodeWarrior won't reset handheld? Roger Chaplin
- Re: CodeWarrior won't reset handheld? Paul Gargan
- Re: CodeWarrior won't reset handheld? Roger Chaplin
