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/
