Michael Van Canneyt wrote:
>
>> I think this is a bug. Because Free Pascal should allow the users to
>> write a single software and expect it to run on all Windows versions.
>
> It does:
>
> All you need to do is specify the old size in the size field.
> That's probably why they put it there in the first place:
> to remain backwards compatible.
How do we know this size ?
>> New strutures should have a different name from the old ones.
>
> And we would need to create overloaded versions of all calls that use
> these structures; I don't think that is a good proposition, it's a
> maintenance nightmare.
An embedded record could work, but doesn't make the source using it nicer..
Micha
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives