Can someone help me? I'm trying to allocate space for the following structure 
within a structure:

struct pdata {
     ...
     ...
     struct idata *idat;
     ...
     ...
} *pdat;

I have successfully allocated space for the pdata structure this way:
pdat = (pdata *) MemPtrNew(sizeof(pdata);

I want to allocate space for, for example, 5 structures of type idat. How would 
I do that?
Thanks for any help
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to