have you considered that maybe 32 isn't enough memory, or maybe blnHeader is
unallocated?

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Palm OS Emulator has determined that I read memoray allocation
(0x000002674)
> which is in unallocated chunck.
>
> Here is my code :
>
>        MemHandle txtH;
> char *memPtr;
>
> txtH = MemHandleNew(32);
> if (!txtH)
>            return false;
> memPtr = (char *)MemHandleLock(txtH);
>
> LoadStringIntoBuffer(strP,blnChkSum);
>
> StrCopy(memPtr,"TX : ");
> StrCat(memPtr,HexToString(blnHeader, blnChkSum));
>
> This happen when I try to execute StrCat Line on code.
>
> The HexToString function returns a char*.
>
> What should I do to ensure that chunck area which memPtr points is locked
by
> the program?
>
>
> []
>



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

Reply via email to