Michael Van Canneyt wrote:
On Mon, 24 Jul 2006, Martin Smat wrote:
Yes, and that is the point. Where you get the right size from?
Normally you use sizeof(STRUCTURE) but this won't work for older
Windows versions where you need to specify smaller size (without the
new properties). Or do you know the sizes of all structures by hearth?
No. But let me ask it differently.
What would a Visual C programmer do ? He has only the current headers,
so you are
saying that simply his programs won't run on older windowses, and
that's it ?
He also will have to do some effort to make sure his apps will run on
older windowses.
Or he ships a newer comtrl.dll with his app...
You are right.
So the conclusion of this discussion is that FPC will support the newest
structures and if the programmer needs to use it in some older versions
he must do the appropriate changes himself? It is not a big problem for
me but in this case Lazarus (Win32 interface) will contain some
redefinitions of this structures or will assign some magic constants
into the cbSize parameters.
Martin.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives