Thank's
 I developer in CW 7,
 I'm back with this, in the version 7  I execute only strcopy and it's ok
but now i need MemHandleNew(),
MemHandleLock()
StrCopy
MemHandleResize()
MemHandleUnLock()

the problem are solve.
MemHandleNew not present in th tipical C, I working with pointers (Malloc)
sorry , but the forum was create for the Millions of developers learning
about this.
now , I learning a new method for the string.
Thank's



"Matt Graham" <[EMAIL PROTECTED]> escribi� en el mensaje
news:[EMAIL PROTECTED]
> R Luna wrote:
>
> >>you wrote
> >>Don't forget to allocate memory for HelStr somewhere.
> >
> >
> > I'm Working in CW 9
> > how to allocate memory for HelStr, please help me with this
> > I hate a "Invalid Pointer" Message @_@
> > I not StrCopy and Strcat, nothing, why??????
> > Look Please
>
> You might want to try allocating memory with MemPtrNew().
> Or you can allocate it when you declare your string by declaring it as
> an array rather than a string.
> In either case, you might want to learn some of the basics of C before
> you try working with Palm databases.
>
>
>
> > void Mack()
> > {
> >     Char *RowTableIp
> >     //open Bd
> >     Selection (1,RowTableIp);
> > }
> >
> >
> > void Selection (UInt32 TotRow,Char *TabDatosP)
> > {
> >
> >   MemHandle RecordHandle;
> >   Char *PuntReg ;
> >
> >
> >   RecordHandle = DmQueryRecord(DBTransIP,TotRow);//Workin ok
> >   if (RecordHandle == NULL)   //Workin ok
> >       return 0;
> >   PuntReg = MemHandleLock(RecordHandle);  //Workin ok
> >   StrCopy(TabDatosP,PuntRegistro);  <- THIS NOT WORKING read the
error(**)
> >   StrCat(TabDatosP,"@");
> >    return 0;
> > }
>



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

Reply via email to