On 03 Jan 2009, at 12:54, gabor wrote:
I'm trying to convert c header code from "Windows Mobile API 5" to
pascal and I'm getting wrong size of converted record:
original c header:
typedef struct _DDPIXELFORMAT
{
DWORDdwSize;
DWORDdwFlags;
DWORDdwFourCC;
u
each "union" is a separate case for pascal. another thing is that the
structure is quite agly and does not reveale the logicals usage.
The problem is that pascal does not allow you to use multiple cases in
single record, that would require you to declare additional types.
_PFColorSize = record