I called SendString in another portion of program, using instead of a string, other function (HexToString) which returns a char*.
....
SendString(HexToString,true,true,true);
.....
Here is my code :
static bool SendString(char* strP, bool blnHeader, bool blnChkSum, bool blnBreak) {
MemHandle txtH;
char *memPtr;
txtH = MemHandleNew(64);
if (!txtH) return false;
memPtr = (char *)MemHandleLock(txtH);
StrCopy(memPtr,strP);
.....
How can I lock strP inside SendString Function?
\\\\ Thanks.
Maur�cio Vianna de Rezende
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
