I have the following structure,

typedef struct
{
UInt32  dWordOne
UInt16  valueOne
Char    name[9]
UInt16  valueTwo
Char    text
} MyType

My question is whether Palm adds a byte padding to fit the structure into a certain bounds? When I cast my record to this structure, the data that follows the fixed length string (name[9]), is off by one byte. It appears that an extra byte is being added, following the string. Does anyone know if this is correct and a way to handle the issue?

Thanks
John

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to