Here is a structure that I have been using:
typedef struct MyColorTableType
{
Int16 numEntries;
UInt8 fill[2];
RGBColorType entry[UILastColorTableEntry];
} MyStruct;
When I compile using the OS 5.0 header files, I get sizeof(MyStruct) = 124.
However, when I compile using the OS 5.3 header files, I get sizeof(MyStruct) =
128. The OS 5.0 result is the corrent one. Any ideas on how to get this to
work on OS 5.3?
Thanks,
Mike
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/