First of all, you don't necessarily need tmp as the l value of the call to
StrToLower. The "result of StrToLower is stored in the first parameter
(tmp)...
Second, what is tmp? If it's a char* (which is what StrToLower expects), you
need to initiliaze it with enough size to accept "ad". You might try setting
it to a MemHandleNew or MemPtrNew, or declare it as a char[3] and send it as
a pointer in you function call:
StrToLower (&tmp, "AD") or &tmp = StrToLower (&tmp, "AD")...

george r.
"Rhoda BEROL" <[EMAIL PROTECTED]> wrote in message
news:57477@palm-dev-forum...
>
> hello,
> I write:
>
> tmp=StrToLower(tmp,"AD");
>
> and There is this error:
>
> "Projet (1.0) just wrote to memory location 0x0001B61A, which is in the
> storage heap. In order to protect the integrity of the user's data, such
> direct access is not allowed. Instead, applications should use special
Palm
> OS functions for this purpose."
>
> Why?
>
>



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

Reply via email to