Did you use MemPtrNew to allocate memory for MyParamsType->StrOne and MyParamsType->StrTwo as well as for MyParamsType itself?
- Tom <[EMAIL PROTECTED]> wrote in message news:110523@palm-dev-forum... > > I keep getting an error when I attempt to set the owner of a structure to send with AppCallWithCommand. Consider the following: > > typedef struct{ > char *StrOne; > char *StrTwo; > } MyParamsType; > > I use MemPtrNew to allocate memory for the structure, then for the two strings. After filling what ever info I need into the strings, I attempt to set the owner of the two strings followed by the structure to 0. This is where the error comes. None of them work. What could possibly be going wrong? > > __________________________________________________________________ > The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp > > Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
