ups ;)
that's the problem
thx

"Eric Cloninger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Is sendName pointing to valid memory?  i.e. At some point are you doing
>
> sendName = (Char *) MemPtrNew(nameSize);
>
> Or
>
> Char buffer[SEND_NAME_SIZE];
> sendName = buffer;
>
> > -----Original Message-----
> > From: Ricardo Marques [mailto:[EMAIL PROTECTED]
> > Sent: Monday, September 01, 2003 12:29 PM
> > To: Palm Developer Forum
> > Subject: Problems with StrCopy and StrCat
> >
> >
> > Hi.
> > I'm trying to copy a string to another and then concatenate
> > it with another but seem to be getting some problems that I
> > can't figure out why.
> >
> > I've defined Char *sendName
> >
> > and later I do
> >     StrCopy(sendName,"_btobex:");
> >     StrCat(sendName,dBName);
> > But the app gets stuck in StrCopy, and if I comment StrCopy
> > it will get stuck in StrCat. Any idea of what my problem is?
> > I've included StringMgr.h at the top. thx for the atttention Ricardo
> >
> >
> >
> > -- 
> > For information on using the Palm Developer Forums, or to
> > unsubscribe, please see http://www.palmos.com/dev/support/forums/
> >
> >
> >
>
>
>



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

Reply via email to