I installed Delphi XE2 and try to compile an old project. Now I have the following problem:
In the old project there is code like
xx : int64;
xx := CreateBrushIndirect(Data^.lb);
the compiler now says: "incompatible type tagLogBrush and tagLogBrush32." Same error it doesn't matter if I compile 3bit or 64bit.
The CreateBrushIndirect-procedure is definied in winapi.windows-unit and I really can see that there are different types. Is that a bug from that unit and how can I solve it?
Thanks for your help, Peter