Hai all


I want to extract Substring from a String.

Error Message
        <app name> has just read direcly from an unlocked memory chunk.

description:
        Receive(sock) function returns MemPtr, stored in Rdata declared as MemPtr.
so, i use StrStr function. .

here is code 
 MemPtr Rdata;
Char *pc;
  Rdata=Receive(sock);
  pc=(Char*)Rdata;
  pc=StrStr(pc,"\015\012\015\012");

--help would be appreciated

SVBN MURTHY
          
          

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
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