Did you allocate memory for the sendName variable?

Hugo 



-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Ricardo
Marques
Enviado el: Lunes, 01 de Septiembre de 2003 01:29 p.m.
Para: Palm Developer Forum
Asunto: 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