On Thu, 14 Mar 2002, Crispina Chong wrote:

> typedef struct MyTestDB {
>       Char visitType[257];    /* Free form text field, 256 characters
> allowed */
>       } MyTestDB;
> typedef MyTestDB* MyTestDBPtr;

If that's the types involved...

> recP = MemPtrNew(sizeof(MyTestDB));
> ((MyTestDBPtr)recP)->visitType = record->visitType;

...then why aren't you using StrCopy in the first place?

-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
A Freudian slip is when you say one thing but mean your mother.


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

Reply via email to