1. structures ?
This discription of the PAINTSTRUCT in WIN32LIB.EW
-- Type PAINTSTRUCT
-- NEW! 0.15 Robert Craig found psRgbReserved to be too small
psHdc = allot( Long ),
psErase = allot( Long ),
psPaintRect = allot( SIZEOF_RECT ),
psRestore = allot( Long ),
psIncUpdate = allot( Long ),
psRgbReserved = allot( 32 ),
SIZEOF_PAINTSTRUCT = allotted_size(),
In the discription of the PAINTSTRUCT in "C" these:
BOOL psErase;
BOOL psRestore;
BOOL psIncUpdate;
three variables in the structure are of the type BOOL
Isn't a BOOL suppose to be a (word) 16 bits. Why is there a
difference ? This is only one example of where I see this difference it
occurs in other places.
I still do not understand why the definition of a structure in Euphoria
is different in size than sizes of a structure I would define in "C"
Bernie
2. Re: structures ?
Bernie Ryan wondered:
> I still do not understand why the definition of a
> structure in Euphoria is different in size than
> sizes of a structure I would define in "C"...
Euphoria structures and C structures should be the same sizes. It's possible
that I've miscalculated the paint structure.
-- David Cuny