When I read Dhanushka's question, I thought he was asking about storing and
retrieving structures to/from a database.  If that is what he wants, there
are lots of examples.  One place he should look is at the code for the
built-in Palm apps that comes with the SDK.  Another place to look for
sample code would be Neil Rhodes' "Palm Programming - The Developer's Guide"
which is available online.  (See the link in the Documentation section of
palmos.com)  And there are several other books that do a good job explaining
this.

If, OTOH, he just wants to know how to store data in a structure and
retrieve data from that structure, then I think he should get a book on C
programming.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Nesselhauf, John
> Sent: Wednesday, April 11, 2001 3:06 PM
> To: Palm Developer Forum
> Subject: RE: help me out....
>
>
> It goes something like this...
> struct s *myS = MemPtrNew( sizeof(struct s) );
>
> and then when done
> MemPtrFree( myS );
>
> -----Original Message-----
> From: dhanushka jayakody [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 11, 2001 3:55 PM
> To: Palm Developer Forum
> Subject: help me out....
>
>
> hi,
>
> Does anyone know how to store and retrive structures.
> If there are any links where i could see some sample
> code that would be much better.
>
> If anyone knows pls paste the code when replying.
>
> That is how to strore a record,
> How to retrieve data from a record.
>
> Thanks,
>
> Don.


-- 
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