Don't forget to allocate memory for HelStr somewhere.
----- Original Message -----
From: "Marcelo Henrique" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 11:56 AM
Subject: RE: How to
> void hello()
> {
> Char *HelStr;
> // dynamic allocation for HelStr
> TransfStr( HelStr );
> }
>
> void TransfStr( Char *StrParam )
> {
> StrCopy (StrParam, "Hello HelStr");
> return 0;
> }
>
>
> Does it work?
>
>
> Marcelo Henrique
>
>
>
>
>
>
>
> >From: "R Luna" <[EMAIL PROTECTED]>
> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> >To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> >Subject: How to
> >Date: Tue, 20 Jan 2004 13:18:55 -0300
> >
> >I need call a function ,
> >send value for reference, for example
> >
> >I need get value with variable HelStr
> >
> >struct void hello()
> >{
> > Char HelStr
> > // How to call and get the value asign into TransfStr function and
> >save
> >into HelStr ?????
> >
> >
> >}
> >
> >struct void TransfStr( Char HelStr)
> >{
> > StrCopy (HelStr, "Hello HelStr");
> > return 0;
> >}
> >
> >
> >
> >
> >
> >
> >
> >
> >--
> >For information on using the Palm Developer Forums, or to unsubscribe,
> >please see http://www.palmos.com/dev/support/forums/
>
> _________________________________________________________________
> MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
>
>
> --
> 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/