My application has a database that is made up of structures as follows:

typedef struct
{
  SDWord serverID;
  SDWord port;
  SDWord category; 
  char *label;
  char *server;
  char *url;
}serverData;

The O'Reilly book uses a similar data structure and packs the char *'s
into a single char [1] and the unpacks them when they are needed. Is their
a better way to do this?

I tried just doing a single write but because of the Char's it only
recorded the address in memory of the string and not the string.

Thanks.


--patrick


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to