> myStruct.SoldToParty = (Char *)MemPtrNew(20);
> StrCopy(myStruct.SoldToParty,text);

Here you treating SoldToParty as a pointer.

> DmWrite(s, 0, &myStruct, sizeof(myStruct));

Here you assume that SoldToParty is inlined into
the struct.

With kind regards / Mit freundlichem Gruß
    Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED]                             http://www.klawitter.de



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

Reply via email to